|
1 /* |
|
2 * Copyright (c) 2000 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Implementation of terminalsecurity components |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <e32base.h> |
|
21 #include <e32debug.h> |
|
22 |
|
23 #include <etelmm.h> |
|
24 #include <rmmcustomapi.h> |
|
25 |
|
26 |
|
27 |
|
28 #include <e32property.h> |
|
29 #include <PSVariables.h> // Property values |
|
30 |
|
31 |
|
32 |
|
33 #include <mmtsy_names.h> |
|
34 |
|
35 #include "SCPLockEventHandler.h" |
|
36 #include "SCPServer.h" |
|
37 |
|
38 // ================= MEMBER FUNCTIONS ======================= |
|
39 |
|
40 // C++ default constructor can NOT contain any code, that |
|
41 // might leave. |
|
42 // |
|
43 CSCPLockEventHandler::CSCPLockEventHandler( CSCPServer* aServer ) |
|
44 : CActive( EPriorityHigh ), |
|
45 iServer( aServer ) |
|
46 // Assign a high priority to bypass all other possible outstanding requests |
|
47 { |
|
48 Dprint( (_L("--> CSCPLockEventHandler::CSCPLockEventHandler()")) ); |
|
49 |
|
50 // No implementation required |
|
51 |
|
52 Dprint( (_L("<-- CSCPLockEventHandler::CSCPLockEventHandler()")) ); |
|
53 } |
|
54 |
|
55 |
|
56 // Symbian 2nd phase constructor can leave. |
|
57 void CSCPLockEventHandler::BaseConstructL() |
|
58 { |
|
59 Dprint( (_L("--> CSCPLockEventHandler::BaseConstructL()") )); |
|
60 |
|
61 iServer->GetEtelHandlesL( &iTelServ, &iPhone ); |
|
62 |
|
63 CActiveScheduler::Add( this ); |
|
64 |
|
65 Dprint( (_L("<-- CSCPLockEventHandler::BaseConstructL()") )); |
|
66 } |
|
67 |
|
68 |
|
69 // Destructor |
|
70 CSCPLockEventHandler::~CSCPLockEventHandler() |
|
71 { |
|
72 Dprint( (_L("--> CSCPLockEventHandler::~CSCPLockEventHandler()") )); |
|
73 |
|
74 Dprint( (_L("<-- CSCPLockEventHandler::~CSCPLockEventHandler()") )); |
|
75 } |
|
76 |
|
77 // End of File |
|
78 |