|
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: Plugin info class for collection engine |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_MPXCOLLECTIONPLUGININFO_H |
|
20 #define C_MPXCOLLECTIONPLUGININFO_H |
|
21 |
|
22 #include <badesca.h> |
|
23 #include <mpxplugininfo.h> |
|
24 |
|
25 /** |
|
26 * Collection derived plugin info class |
|
27 * |
|
28 * @lib mpxcollectionengine.dll |
|
29 * @since S60 3.2 |
|
30 */ |
|
31 NONSHARABLE_CLASS( CMPXCollectionPluginInfo ) : public CMPXPluginInfo |
|
32 { |
|
33 |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Two-Phased constructor |
|
38 * @param aData implemnetation data |
|
39 * @return CMPXCollectionPluginInfo* |
|
40 */ |
|
41 static CMPXCollectionPluginInfo* NewL( const CImplementationInformation& aData ); |
|
42 |
|
43 /** |
|
44 * Two-Phased constructor |
|
45 * @param aData implemnetation data |
|
46 * @return CMPXCollectionPluginInfo* on cleanupstack |
|
47 */ |
|
48 static CMPXCollectionPluginInfo* NewLC( const CImplementationInformation& aData ); |
|
49 |
|
50 |
|
51 /** |
|
52 * Virtual destructor |
|
53 */ |
|
54 virtual ~CMPXCollectionPluginInfo(); |
|
55 |
|
56 public: |
|
57 |
|
58 /** |
|
59 * From CMPXPluginInfo |
|
60 */ |
|
61 void ProcessTaggedDataExL(const TDesC8& aTag, const TDesC8& aData); |
|
62 |
|
63 /** |
|
64 * Return the list of non-cacheable attributes |
|
65 * @return TArray<TUid> containing the list of attributes not cacheable |
|
66 */ |
|
67 const TArray<TUid> NonCacheableAttrs(); |
|
68 |
|
69 private: |
|
70 |
|
71 /** |
|
72 * Extract the non-cacheable attributes |
|
73 */ |
|
74 void ExtractNonCacheableAttrsL( const TDesC8& aData ); |
|
75 |
|
76 private: |
|
77 |
|
78 /** |
|
79 * Two-phased constructor |
|
80 */ |
|
81 void ConstructL( const CImplementationInformation& aData ); |
|
82 |
|
83 /** |
|
84 * C++ Constructor |
|
85 */ |
|
86 CMPXCollectionPluginInfo(); |
|
87 |
|
88 private: // data |
|
89 |
|
90 RArray<TUid> iNonCachableAttrs; |
|
91 }; |
|
92 |
|
93 #endif // C_MPXCOLLECTIONPLUGININFO_H |