|
1 /* |
|
2 * Copyright (c) 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 "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: Defines field values for creation of sync profile from resource files. |
|
15 * |
|
16 */ |
|
17 // copied from syncmldef.h |
|
18 |
|
19 enum TSmlServerAlertedAction |
|
20 { |
|
21 /** Allow the push message parser plugin to specify user interaction type. */ |
|
22 ESmlUseSANRequestedSetting, |
|
23 /** Automatically run the synchronisation without user intervention. */ |
|
24 ESmlEnableSync, |
|
25 /** Prevent the synchronisation. */ |
|
26 ESmlDisableSync, |
|
27 /** Inform the user of the synchronisation. */ |
|
28 ESmlInformSync, |
|
29 /** Get confirmation of the synchronisation from the user. */ |
|
30 ESmlConfirmSync, |
|
31 /** Use the global user interaction type (only allowed for the profile setting) */ |
|
32 ESmlUseGlobalSetting |
|
33 }; |
|
34 |
|
35 /** |
|
36 Flags for synchronisation types. |
|
37 */ |
|
38 enum TSmlSyncType |
|
39 { |
|
40 /** Two-way sync. |
|
41 |
|
42 A normal sync type in which the client and the server exchange information about modified data in these devices. |
|
43 The client sends the modifications first. |
|
44 */ |
|
45 ESmlTwoWay, |
|
46 /** One-way sync from server. |
|
47 |
|
48 A sync type in which the client gets all modifications from the server, but the client does not send |
|
49 its modifications to the server. */ |
|
50 ESmlOneWayFromServer, |
|
51 /** One-way sync from client. |
|
52 |
|
53 A sync type in which the client sends its modifications to the server, but the server does not send |
|
54 its modifications back to the client. */ |
|
55 ESmlOneWayFromClient, |
|
56 /** Slow sync. |
|
57 |
|
58 A form of two-way sync in which the client sends all its data to the server, and the server does |
|
59 the sync analysis for this data and the data in the server. The server may undertake a field by field analysis. */ |
|
60 ESmlSlowSync, |
|
61 /** Refresh sync from server. |
|
62 |
|
63 A sync type in which the client exports all its data to the server. The server replaces all data in |
|
64 the target database with the data sent by the client. */ |
|
65 ESmlRefreshFromServer, |
|
66 /** Refresh sync from client. |
|
67 |
|
68 A sync type in which the client exports all its data to the server. The server replaces all data in |
|
69 the target database with the data sent by the client.*/ |
|
70 ESmlRefreshFromClient |
|
71 }; |
|
72 |
|
73 /** |
|
74 Protocol versions. |
|
75 */ |
|
76 enum TSmlProtocolVersion |
|
77 { |
|
78 /** Version 1.1.2 */ |
|
79 ESmlVersion1_1_2, |
|
80 /** Version 1.2 */ |
|
81 ESmlVersion1_2 |
|
82 }; |
|
83 |
|
84 // End of File |