|
1 // Copyright (c) 2007-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 #ifndef MTPCLIENTSERVER_H |
|
17 #define MTPCLIENTSERVER_H |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 /** |
|
22 The MTP daemon server process name. |
|
23 */ |
|
24 _LIT(KMTPServerName,"mtpserver"); |
|
25 |
|
26 /** |
|
27 The current major version number of the MTP daemon. |
|
28 */ |
|
29 const TUint KMTPVersionMajor(1); |
|
30 |
|
31 /** |
|
32 The current minor version number of the MTP daemon. |
|
33 */ |
|
34 const TUint KMTPVersionMinor(0); |
|
35 |
|
36 /** |
|
37 The current build number of the MTP daemon. |
|
38 */ |
|
39 const TUint KMTPVersionBuild(0); |
|
40 |
|
41 /** |
|
42 The MTP daemon server process UID3. |
|
43 */ |
|
44 const TUid KMTPServerUid3 = {0x102827A2}; |
|
45 |
|
46 /** |
|
47 The number of message slots available to an MTP client session. |
|
48 */ |
|
49 const TInt KMTPASyncMessageSlots(1); |
|
50 |
|
51 /** |
|
52 The MTP client/server IPC function codes. |
|
53 */ |
|
54 enum TMTPClientIpcCodes |
|
55 { |
|
56 /** |
|
57 RMTPClient::StartTransport |
|
58 */ |
|
59 EMTPClientStartTransport = 0, |
|
60 |
|
61 /** |
|
62 RMTPClient::StopTransport |
|
63 */ |
|
64 EMTPClientStopTransport = 1, |
|
65 |
|
66 /** |
|
67 RMTPClient::StopTransport |
|
68 */ |
|
69 EMTPClientClose = 2, |
|
70 |
|
71 /** |
|
72 RMTPClient::IsAvailable |
|
73 */ |
|
74 EMTPClientIsAvailable = 3, |
|
75 |
|
76 /** |
|
77 The invalid function code placeholder. |
|
78 */ |
|
79 EMTPClientNotSupported |
|
80 }; |
|
81 |
|
82 #endif // MTPCLIENTSERVER_H |