|
1 /* |
|
2 * Copyright (c) 2010 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: Symbian specific constants for the device dialog. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef DEVICEDIALOGSYMBIAN_H |
|
21 #define DEVICEDIALOGSYMBIAN_H |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 // CONSTANTS |
|
26 const TUint KSyncMLMaxServerMsgLength = 200; |
|
27 |
|
28 // MACROS |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 class TSyncMLAppLaunchNotifParams; |
|
32 class TSyncMLDlgNotifParams; |
|
33 |
|
34 enum TSyncMLSessionTypes |
|
35 { |
|
36 ESyncMLUnknownSession, |
|
37 ESyncMLSyncSession, |
|
38 ESyncMLMgmtSession, |
|
39 }; |
|
40 |
|
41 enum TSyncMLDlgNoteTypes |
|
42 { |
|
43 ESyncMLInfoNote, |
|
44 ESyncMLErrorNote, |
|
45 ESyncMLOkQuery, |
|
46 ESyncMLYesNoQuery |
|
47 }; |
|
48 |
|
49 enum TSyncMLSANSupport |
|
50 { |
|
51 ESANNotSpecified, |
|
52 ESANSilent, |
|
53 ESANUserInformative, |
|
54 ESANUserInteractive |
|
55 }; |
|
56 |
|
57 /** |
|
58 * Struct to allow the sending of parameters to SyncML application |
|
59 * starter notifier plugin. |
|
60 * |
|
61 * @lib SyncMLNotifier |
|
62 * @since Series 60 3.0 |
|
63 */ |
|
64 class TSyncMLAppLaunchNotifParams |
|
65 { |
|
66 public: |
|
67 // Type of the SyncML session to be initiated. |
|
68 TSyncMLSessionTypes iSessionType; |
|
69 // Identifier of the job requested. |
|
70 TInt iJobId; |
|
71 // Identifier of the profile used |
|
72 TInt iProfileId; |
|
73 // Server alert Ui mode |
|
74 TInt iUimode; |
|
75 }; |
|
76 /** |
|
77 * Struct to allow the sending of parameters to SyncML server |
|
78 * dialog notifier plugin. |
|
79 * |
|
80 * @lib SyncMLNotifier |
|
81 * @since Series 60 3.0 |
|
82 */ |
|
83 class TSyncMLDlgNotifParams |
|
84 { |
|
85 public: |
|
86 // Type of the query or note to be shown. |
|
87 TSyncMLDlgNoteTypes iNoteType; |
|
88 // Message to be shown on the screen. |
|
89 TBufC<KSyncMLMaxServerMsgLength> iServerMsg; |
|
90 // Timeout of the note (in seconds). 0 = No timeout. |
|
91 TInt iMaxTime; |
|
92 //Max length |
|
93 TInt iMaxLength; |
|
94 }; |
|
95 |
|
96 |
|
97 #endif // DEVICEDIALOGSYMBIAN_H |
|
98 |
|
99 // End of File |