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 "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: Contact Parser Server definitions |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __CLIENTSERVER_H__ |
|
20 #define __CLIENTSERVER_H__ |
|
21 #include <e32base.h> |
|
22 |
|
23 // server name |
|
24 _LIT(KCntParserName,"Contacts Parser"); |
|
25 |
|
26 // A version must be specified when creating a session with the server |
|
27 |
|
28 const TUint KCntParserMajorVersionNumber=0; |
|
29 const TUint KCntParserMinorVersionNumber=1; |
|
30 const TUint KCntParserBuildVersionNumber=1; |
|
31 |
|
32 // opcodes used in message passing between client and server |
|
33 enum TCntParserRqst |
|
34 { |
|
35 ECntParserServerCancel, |
|
36 ECntParserServerClose, |
|
37 ECntParserServerCreateIrMCL2, |
|
38 ECntParserServerTotalNumOfContacts, |
|
39 ECntParserServerDisconnect, |
|
40 ECntParserServerCntParsed, |
|
41 ECntParserServerCntSaved, |
|
42 ECntParserServerCancelAll |
|
43 }; |
|
44 |
|
45 #endif |
|