equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __TrkSrvServer_H__ |
|
19 #define __TrkSrvServer_H__ |
|
20 |
|
21 // System includes |
|
22 #include <e32base.h> |
|
23 |
|
24 // User includes |
|
25 #include "trkdebugmanager.h" |
|
26 |
|
27 // Type definitions |
|
28 |
|
29 // Constants |
|
30 |
|
31 // Enumerations |
|
32 |
|
33 |
|
34 // |
|
35 // CTrkSrvServer (header) |
|
36 // The Trk Server |
|
37 // |
|
38 #ifdef EKA2 |
|
39 class CTrkSrvServer : public CPolicyServer |
|
40 #else |
|
41 class CTrkSrvServer : public CServer2 |
|
42 #endif |
|
43 { |
|
44 public: |
|
45 static CTrkSrvServer* NewLC(CTrkDebugManager* aTrkDebugMgr); |
|
46 ~CTrkSrvServer(); |
|
47 |
|
48 private: |
|
49 CTrkSrvServer(CTrkDebugManager* aTrkDebugMgr); |
|
50 void ConstructL(); |
|
51 |
|
52 public: |
|
53 CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const; |
|
54 |
|
55 private: |
|
56 TInt RunError(TInt aError); |
|
57 |
|
58 private: |
|
59 #ifdef EKA2 |
|
60 TCustomResult CustomSecurityCheckL(const RMessage2& aMsg, TInt& aAction, TSecurityInfo& aMissing); |
|
61 #endif |
|
62 |
|
63 private: |
|
64 CTrkDebugManager* iTrkDebugMgr; |
|
65 }; |
|
66 |
|
67 #endif |