|
1 /* |
|
2 * Copyright (c) 2002 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 the License "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: ?Description* |
|
15 */ |
|
16 |
|
17 |
|
18 #ifndef VCXCONNUTILTESTCOMMON_H_ |
|
19 #define VCXCONNUTILTESTCOMMON_H_ |
|
20 |
|
21 // Category for PS keys used by tests. |
|
22 const TUid KVCXConnUtilTestPScategory = { 0x101FB3E3 }; |
|
23 |
|
24 const TInt KVCXConnUtilTestExeGlobalTesterCount = 1; |
|
25 |
|
26 // Set this to 1 to inform all the tester exe's for shutdown. |
|
27 const TInt KVCXConnUtilTestExeGlobalShutdownKey = 2; |
|
28 |
|
29 /** |
|
30 * P&S key for commands, created by tester exe which adds it's own process id to this. |
|
31 */ |
|
32 const TUint KVCXConnUtilTestExePsKeyCmd = 10; // Observed for changes by tester exe. |
|
33 |
|
34 /** |
|
35 * Parameters for the commands, created by tester exe which adds it's own process id to these. |
|
36 */ |
|
37 const TUint KVCXConnUtilTestExePsKeyCmdIntParam1 = 11; |
|
38 const TUint KVCXConnUtilTestExePsKeyCmdIntParam2 = 12; |
|
39 const TUint KVCXConnUtilTestExePsKeyCmdDescParam1 = 13; |
|
40 |
|
41 /** |
|
42 * P&S keys for responses, created by tester exe which adds it's own process id to these. |
|
43 */ |
|
44 // This is sent after tester exe has received the cmd. |
|
45 const TUint KVCXConnUtilTestExePsKeyResponseAck = 21; |
|
46 // Will contain command which sent the repsonse. |
|
47 const TUint KVCXConnUtilTestExePsKeyResponseCmd = 22; |
|
48 // Will contain parameter for the repsonse. |
|
49 const TUint KVCXConnUtilTestExePsKeyResponseParam = 23; |
|
50 // Symbian error code for the response. |
|
51 const TUint KVCXConnUtilTestExePsKeyResponseError = 24; |
|
52 |
|
53 /** |
|
54 * List of commands to tester exe. |
|
55 */ |
|
56 enum TVcxConnUtilCommand |
|
57 { |
|
58 EVcxConnUtilCommandShutdown, // Params: none |
|
59 EVcxConnUtilCommandSetName, // Params: desc for name |
|
60 EVcxConnUtilCommandGetIap, // Params: int1 = silent, int2 = timed call |
|
61 EVcxConnUtilCommandGetWapIdForIap, // Params: int1 = IAP ID |
|
62 EVcxConnUtilCommandDisconnect, // Params: none |
|
63 EVcxConnUtilCommandSetRoamingAllowed, // Params: int1 = the value |
|
64 EVcxConnUtilCommandSetRoamingLeaveAtRoamingRequest, // Params: int1 = the value |
|
65 EVcxConnUtilCommandSetDelayBeforeRoamingRequest, // Params: int1 = the value |
|
66 }; |
|
67 |
|
68 #endif /*VCXCONNUTILTESTCOMMON_H_*/ |