|
1 /* |
|
2 * Copyright (c) 2008-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 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: |
|
15 * Common stuff for the Sit Transport library. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 */ |
|
24 |
|
25 #ifndef SIFTRANSPORTCOMMON_H |
|
26 #define SIFTRANSPORTCOMMON_H |
|
27 |
|
28 #include <e32uid.h> |
|
29 |
|
30 namespace Usif |
|
31 { |
|
32 |
|
33 /** |
|
34 Operations supported by the SIF Server |
|
35 |
|
36 bit 0 reserved for requests that send file name in an asynchronous IPC, |
|
37 bit 1 reserved for requests that send file handle in an asynchronous IPC, |
|
38 bit 2 reserved for requests that send component info in an asynchronous IPC, |
|
39 bit 3 reserved for requests that send component id in an asynchronous IPC, |
|
40 bit 4 reserved for requests that send opaque data in an asynchronous IPC, |
|
41 bit 5 reserved for requests that send opaque data to a plug-in, |
|
42 bit 6 reserved for installation requests |
|
43 */ |
|
44 enum TSifTransportFunction |
|
45 { |
|
46 EFileNameInIpc = 0x01, |
|
47 EFileHandleInIpc = 0x02, |
|
48 EComponentInfoInIpc = 0x04, |
|
49 EComponentIdInIpc = 0x08, |
|
50 EOpaqueDataInIpc = 0x10, |
|
51 EOpaqueDataToPlugin = 0x20, |
|
52 EInstall = 0x40, |
|
53 EGetComponentInfoByFileName = 0x100|EFileNameInIpc|EComponentInfoInIpc, |
|
54 EGetComponentInfoByFileHandle = 0x200|EFileHandleInIpc|EComponentInfoInIpc, |
|
55 EInstallByFileName = 0x300|EInstall|EFileNameInIpc|EOpaqueDataToPlugin, |
|
56 EInstallByFileNameWithOpaqueData = 0x400|EInstall|EFileNameInIpc|EOpaqueDataInIpc|EOpaqueDataToPlugin, |
|
57 EInstallByFileHandle = 0x500|EInstall|EFileHandleInIpc|EOpaqueDataToPlugin, |
|
58 EInstallByFileHandleWithOpaqueData = 0x600|EInstall|EFileHandleInIpc|EOpaqueDataInIpc|EOpaqueDataToPlugin, |
|
59 EInstallByFileHandleWithOpaqueDataPreamble = 0x700, |
|
60 EUninstall = 0x800|EComponentIdInIpc|EOpaqueDataToPlugin, |
|
61 EUninstallWithOpaqueData = 0x900|EComponentIdInIpc|EOpaqueDataInIpc|EOpaqueDataToPlugin, |
|
62 EActivate = 0xa00|EComponentIdInIpc, |
|
63 EDeactivate = 0xb00|EComponentIdInIpc |
|
64 }; |
|
65 |
|
66 } // End of namespace Usif |
|
67 |
|
68 #endif // #ifndef SIFSERVERCOMMON_H |