|
1 /* |
|
2 * Copyright (c) 2006 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: Contains enumeration values for the node functions |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NCD_NODE_FUNCTION_IDS_H |
|
20 #define NCD_NODE_FUNCTION_IDS_H |
|
21 |
|
22 namespace NcdNodeFunctionIds |
|
23 { |
|
24 |
|
25 /** |
|
26 * TNcdNodeFunctionNumber should be used when proxies are requesting services by |
|
27 * calling ReceiveMessageL function of this class. |
|
28 */ |
|
29 enum TNcdNodeFunctionNumber |
|
30 { |
|
31 |
|
32 // Node functions ids |
|
33 |
|
34 /** |
|
35 * |
|
36 */ |
|
37 ENcdRootNodeHandle, |
|
38 |
|
39 /** |
|
40 * |
|
41 */ |
|
42 ENcdSearchRootNodeHandle, |
|
43 |
|
44 /** |
|
45 * |
|
46 */ |
|
47 ENcdNodeHandle, |
|
48 |
|
49 /** |
|
50 * This means that a temporary node item should be creted. |
|
51 */ |
|
52 ENcdTemporaryNodeItemHandle, |
|
53 |
|
54 /** |
|
55 * |
|
56 */ |
|
57 ENcdTemporaryNodeItemWithMetaDataHandle, |
|
58 |
|
59 /** |
|
60 * This means that a temporary node folder should be created. |
|
61 */ |
|
62 ENcdTemporaryNodeFolderHandle, |
|
63 |
|
64 /** |
|
65 * |
|
66 */ |
|
67 ENcdTemporaryNodeFolderWithMetaDataHandle, |
|
68 |
|
69 /** |
|
70 * This means that a temporary bundle folder should be created. |
|
71 */ |
|
72 ENcdTemporaryBundleFolderHandle, |
|
73 |
|
74 /** |
|
75 * |
|
76 */ |
|
77 ENcdTemporaryBundleFolderWithMetaDataHandle, |
|
78 |
|
79 /** |
|
80 * |
|
81 */ |
|
82 ENcdLinkHandle, |
|
83 |
|
84 /** |
|
85 * |
|
86 */ |
|
87 ENcdMetadataHandle, |
|
88 |
|
89 /** |
|
90 * |
|
91 */ |
|
92 ENcdDisclaimerHandle, |
|
93 |
|
94 /** |
|
95 * |
|
96 */ |
|
97 ENcdIconHandle, |
|
98 |
|
99 /** |
|
100 * |
|
101 */ |
|
102 ENcdScreenshotHandle, |
|
103 |
|
104 /** |
|
105 * |
|
106 */ |
|
107 ENcdSkinHandle, |
|
108 |
|
109 /** |
|
110 * |
|
111 */ |
|
112 ENcdUriContentHandle, |
|
113 |
|
114 /** |
|
115 * |
|
116 */ |
|
117 ENcdContentInfoHandle, |
|
118 |
|
119 /** |
|
120 * |
|
121 */ |
|
122 ENcdUserDataHandle, |
|
123 |
|
124 /** |
|
125 * |
|
126 */ |
|
127 ENcdPreviewHandle, |
|
128 |
|
129 /** |
|
130 * |
|
131 */ |
|
132 ENcdUpgradeHandle, |
|
133 |
|
134 /** |
|
135 * |
|
136 */ |
|
137 ENcdDependencyHandle, |
|
138 |
|
139 /** |
|
140 * |
|
141 */ |
|
142 ENcdNodeSeenHandle, |
|
143 |
|
144 /** |
|
145 * |
|
146 */ |
|
147 ENcdNodeSeenFolderHandle, |
|
148 |
|
149 /** |
|
150 * |
|
151 */ |
|
152 ENcdCreateTemporaryOrSupplierNode, |
|
153 |
|
154 /** |
|
155 * |
|
156 */ |
|
157 ENcdCreateTemporaryNodeIfMetadataExists, |
|
158 |
|
159 /** |
|
160 * |
|
161 */ |
|
162 ENcdUserData, |
|
163 |
|
164 /** |
|
165 * |
|
166 */ |
|
167 ENcdSetUserData, |
|
168 |
|
169 /** |
|
170 * |
|
171 */ |
|
172 ENcdClearUserData, |
|
173 |
|
174 /** |
|
175 * |
|
176 */ |
|
177 ENcdRemoveFromDb, |
|
178 |
|
179 |
|
180 |
|
181 // Node install function numbers |
|
182 /** |
|
183 * |
|
184 */ |
|
185 ENcdInstallHandle, |
|
186 |
|
187 /** |
|
188 * |
|
189 */ |
|
190 ENcdInstallOpenFile, |
|
191 |
|
192 /** |
|
193 * |
|
194 */ |
|
195 ENcdSetApplicationInstalled, |
|
196 |
|
197 |
|
198 /** |
|
199 * Gets all the data for the proxy in one descriptor. |
|
200 */ |
|
201 ENcdInternalize, |
|
202 |
|
203 /** |
|
204 * |
|
205 */ |
|
206 ENcdSubscriptionGroupIdentifiers, |
|
207 |
|
208 /** |
|
209 * |
|
210 */ |
|
211 ENcdListenerEnrollment, |
|
212 |
|
213 /** |
|
214 * |
|
215 */ |
|
216 ENcdSubscriptionIconData, |
|
217 |
|
218 // Node metadata function numbers |
|
219 |
|
220 /** |
|
221 * |
|
222 */ |
|
223 ENcdIconData, |
|
224 |
|
225 /** |
|
226 * |
|
227 */ |
|
228 ENcdScreenshotData, |
|
229 |
|
230 |
|
231 |
|
232 /** |
|
233 * |
|
234 */ |
|
235 ENcdInternalizePurchaseHistory, |
|
236 |
|
237 /** |
|
238 * |
|
239 */ |
|
240 ENcdInternalizePurchaseMeans, |
|
241 |
|
242 /** |
|
243 * Gets all the purchase option ids. |
|
244 */ |
|
245 ENcdPurchaseOptionIds, |
|
246 |
|
247 |
|
248 |
|
249 /** |
|
250 * |
|
251 */ |
|
252 ENcdDownloadHandle, |
|
253 |
|
254 |
|
255 /** |
|
256 * |
|
257 */ |
|
258 ENcdPreviewOpenFile, |
|
259 |
|
260 |
|
261 /** |
|
262 * |
|
263 */ |
|
264 ENcdIsPreviewLoaded, |
|
265 |
|
266 /** |
|
267 * |
|
268 */ |
|
269 ENcdIsPurchaseSupported, |
|
270 |
|
271 // Node seen function numbers |
|
272 |
|
273 /** |
|
274 * |
|
275 */ |
|
276 ENcdNodeSeenSetSeen, |
|
277 |
|
278 // Node seen folder function numbers |
|
279 |
|
280 /** |
|
281 * |
|
282 */ |
|
283 ENcdNodeSeenFolderSetContentsSeen, |
|
284 |
|
285 /** |
|
286 * |
|
287 */ |
|
288 ENcdNodeSeenFolderNewCount, |
|
289 |
|
290 /** |
|
291 * |
|
292 */ |
|
293 ENcdNodeSeenFolderNewNodes, |
|
294 |
|
295 |
|
296 // Purchase history function numbers |
|
297 |
|
298 /** |
|
299 * |
|
300 */ |
|
301 ENcdPurchaseHistorySavePurchase, |
|
302 |
|
303 /** |
|
304 * |
|
305 */ |
|
306 ENcdPurchaseHistorySavePurchaseWithOldIcon, |
|
307 |
|
308 /** |
|
309 * |
|
310 */ |
|
311 ENcdPurchaseHistoryRemovePurchase, |
|
312 |
|
313 /** |
|
314 * |
|
315 */ |
|
316 ENcdPurchaseHistoryGetPurchaseIds, |
|
317 |
|
318 /** |
|
319 * |
|
320 */ |
|
321 ENcdPurchaseHistoryGetPurchase, |
|
322 |
|
323 /** |
|
324 * Gets the purchase details without the icon |
|
325 */ |
|
326 ENcdPurchaseHistoryGetPurchaseNoIcon, |
|
327 |
|
328 /** |
|
329 * |
|
330 */ |
|
331 ENcdPurchaseHistoryEventCount, |
|
332 |
|
333 /** |
|
334 * |
|
335 */ |
|
336 ENcdFilesExist, |
|
337 |
|
338 |
|
339 // Server report manager functions |
|
340 |
|
341 /** |
|
342 * |
|
343 */ |
|
344 ENcdServerReportManagerSetReportingMethod, |
|
345 |
|
346 /** |
|
347 * |
|
348 */ |
|
349 ENcdServerReportManagerReportingMethod, |
|
350 |
|
351 /** |
|
352 * |
|
353 */ |
|
354 ENcdServerReportManagerSetReportingStyle, |
|
355 |
|
356 /** |
|
357 * |
|
358 */ |
|
359 ENcdServerReportManagerReportingStyle, |
|
360 |
|
361 /** |
|
362 * |
|
363 */ |
|
364 ENcdServerReportManagerNodeSetAsInstalled, |
|
365 |
|
366 |
|
367 // Misc functions |
|
368 |
|
369 /** |
|
370 * Gets the class id of the node. |
|
371 * This way the parent proxy class may decide |
|
372 * what kind of proxy class it should create for this |
|
373 * communicable node (for example folder or item) |
|
374 */ |
|
375 ENcdClassId, |
|
376 |
|
377 |
|
378 /** |
|
379 * When proxy does not require services of this node it may call |
|
380 * release function which inform that this node may delete itself. |
|
381 * For example, destructor of the node proxy may use this. |
|
382 */ |
|
383 ENcdRelease, |
|
384 |
|
385 /** |
|
386 * Clear all search result nodes. |
|
387 */ |
|
388 ENcdClearSearchResults, |
|
389 |
|
390 |
|
391 |
|
392 // Other |
|
393 |
|
394 /** |
|
395 * |
|
396 */ |
|
397 ENcdIsCapabilitySupported, |
|
398 |
|
399 /** |
|
400 * |
|
401 */ |
|
402 ENcdMoreInfoHandle, |
|
403 |
|
404 |
|
405 /** |
|
406 * |
|
407 */ |
|
408 ENcdIsTransparentChildExpired |
|
409 |
|
410 }; |
|
411 |
|
412 |
|
413 /** |
|
414 * |
|
415 * |
|
416 */ |
|
417 enum TNcdOperationManagerFunctionNumber |
|
418 { |
|
419 /** |
|
420 * |
|
421 */ |
|
422 ENcdOperationManagerCreateLoadNodeOperation, |
|
423 |
|
424 /** |
|
425 * |
|
426 */ |
|
427 ENcdOperationManagerCreateLoadNodeChildrenOperation, |
|
428 |
|
429 /** |
|
430 * |
|
431 */ |
|
432 ENcdOperationManagerCreateDownloadOperation, |
|
433 |
|
434 /** |
|
435 * |
|
436 */ |
|
437 ENcdOperationManagerCreatePurchaseOperation, |
|
438 |
|
439 |
|
440 ENcdOperationManagerCreateLoadRootNodeOperation, |
|
441 |
|
442 ENcdOperationManagerCreateLoadBundleNodeOperation, |
|
443 |
|
444 ENcdOperationManagerCreateInstallOperation, |
|
445 |
|
446 ENcdOperationManagerCreateSilentInstallOperation, |
|
447 |
|
448 ENcdOperationManagerCreateRightsObjectOperation, |
|
449 |
|
450 ENcdOperationManagerCreateSubscriptionOperation, |
|
451 |
|
452 ENcdOperationManagerRestoreContentDownloads, |
|
453 |
|
454 ENcdOperationManagerCreateCreateAccessPointOperation, |
|
455 |
|
456 ENcdOperationManagerCreateSendHttpRequestOperation, |
|
457 |
|
458 ENcdOperationManagerCreateServerReportOperation |
|
459 }; |
|
460 |
|
461 /** |
|
462 * |
|
463 */ |
|
464 enum TNcdFavoriteManagerFunctionNumber |
|
465 { |
|
466 /** |
|
467 * Remove favorite node. |
|
468 */ |
|
469 ENcdFavoriteManagerRemoveFavorite, |
|
470 |
|
471 /** |
|
472 * Add favorite node. |
|
473 */ |
|
474 ENcdFavoriteManagerAddFavorite, |
|
475 |
|
476 /** |
|
477 * Set (or remove) disclaimer for favorite node. |
|
478 */ |
|
479 ENcdFavoriteManagerSetDisclaimer, |
|
480 |
|
481 /** |
|
482 * Get the disclaimer handle. |
|
483 */ |
|
484 ENcdFavoriteManagerDisclaimerHandle |
|
485 }; |
|
486 } |
|
487 |
|
488 #endif // NCD_NODE_FUNCTION_IDS_H |