equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 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 "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: Common Client/Server header for CM Metadata Harvester |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef CMMDHCOMMON_H |
|
24 #define CMMDHCOMMON_H |
|
25 |
|
26 _LIT(KCmMdhServerExe,"cmmdh.exe"); ///<EXE name |
|
27 |
|
28 // CONSTANTS |
|
29 |
|
30 // Server name |
|
31 _LIT(KCmMdhServerName,"CmMdhServer"); |
|
32 |
|
33 // Panic name |
|
34 _LIT(KCmMdhServerPanic, "CmMdhServerPanic"); |
|
35 |
|
36 //const TUid KCmMetadataHarvesterUid3={0x0EFFEFEF}; |
|
37 |
|
38 /// A version must be specified when creating a session with the server |
|
39 const TUint KCmMdhServerMajor = 1; |
|
40 const TUint KCmMdhServerMinor = 0; |
|
41 const TUint KCmMdhServerBuild = 0; |
|
42 |
|
43 /// opcodes used in message passing between client and server |
|
44 enum TCmMdhRequest |
|
45 { |
|
46 ECmMdhSearchMediaservers, |
|
47 ECmMdhHarvest, |
|
48 ECmMdhCancel |
|
49 }; |
|
50 |
|
51 /// Panic enums |
|
52 enum TCmMdhClientPanics |
|
53 { |
|
54 ECmMdhClientNoSessionActive, |
|
55 ECmMdhClientBadRequest |
|
56 }; |
|
57 |
|
58 /// Panic enums |
|
59 enum TCmMdhServerPanics |
|
60 { |
|
61 EDCmMdhServerIllegalParameter |
|
62 }; |
|
63 |
|
64 #endif |
|
65 // end of file |