|
1 // Copyright (c) 2004-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // API for the Remote Control server side. |
|
15 // Used by the Remote Control client side library. |
|
16 // |
|
17 // |
|
18 |
|
19 |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalComponent |
|
24 */ |
|
25 |
|
26 #ifndef REMCONSERVER_H |
|
27 #define REMCONSERVER_H |
|
28 |
|
29 #include <remcon/operationinformation.h> |
|
30 |
|
31 const TUint32 KRemConSrvTUint = 0x101f9067; |
|
32 const TUid KRemConSrvUid = {KRemConSrvTUint}; |
|
33 |
|
34 _LIT(KRemConServerImg, "z:\\sys\\bin\\remconserver.exe"); |
|
35 |
|
36 _LIT(KRemConServerName, "!RemConSrv"); |
|
37 |
|
38 /** Version numbers. */ |
|
39 const TInt8 KRemConSrvMajorVersionNumber = 1; |
|
40 const TInt8 KRemConSrvMinorVersionNumber = 1; |
|
41 const TInt16 KRemConSrvBuildNumber = 0; |
|
42 |
|
43 /** IPC messages supported by the server. */ |
|
44 enum TRemConIpc |
|
45 { |
|
46 ERemConDbgMarkHeap = 0, // the 1st message must be 0 for CPolicyServer to start up |
|
47 ERemConDbgCheckHeap = 1, |
|
48 ERemConDbgMarkEnd = 2, |
|
49 ERemConDbgFailNext = 3, |
|
50 ERemConSetClientType = 4, |
|
51 ERemConGoConnectionOriented = 5, |
|
52 ERemConGoConnectionless = 6, |
|
53 ERemConConnectBearer = 7, |
|
54 ERemConConnectBearerCancel = 8, |
|
55 ERemConDisconnectBearer = 9, |
|
56 ERemConDisconnectBearerCancel = 10, |
|
57 ERemConSend = 11, |
|
58 ERemConSendCancel = 12, |
|
59 ERemConReceive = 13, |
|
60 ERemConReceiveCancel = 14, |
|
61 ERemConGetConnectionCount = 15, |
|
62 ERemConGetConnections = 16, |
|
63 ERemConNotifyConnectionsChange = 17, |
|
64 ERemConNotifyConnectionsChangeCancel = 18, |
|
65 ERemConRegisterInterestedAPIs = 19, |
|
66 ERemConSendUnreliable = 20, |
|
67 }; |
|
68 |
|
69 #endif // REMCONSERVER_H |