telephonyserverplugins/ctsydispatchlayer/test/dispatchertests/dispatchinc/config.h
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalAll |
|
19 */ |
|
20 |
|
21 #ifndef _CONFIG_ |
|
22 #define _CONFIG_ |
|
23 |
|
24 #include <e32std.h> |
|
25 #include <f32file.h> |
|
26 |
|
27 _LIT(KConfigFile, "C:\\dispatcher_ipc_config.txt"); |
|
28 |
|
29 class TConfig |
|
30 { |
|
31 public: |
|
32 TConfig(); |
|
33 |
|
34 TBool IsSupported(TInt aIpc); |
|
35 TInt SetSupportedValue(TInt aIpc, TBool aSupported); |
|
36 TInt Reset(); |
|
37 /** |
|
38 * Push self to CleanupStack so that Reset is always called |
|
39 */ |
|
40 void PushL(); |
|
41 |
|
42 private: |
|
43 static void ResetThis(TAny* aThis); |
|
44 }; |
|
45 |
|
46 #endif |