equal
deleted
inserted
replaced
15 * |
15 * |
16 * This class implements the CWidgetEntry class. |
16 * This class implements the CWidgetEntry class. |
17 * |
17 * |
18 */ |
18 */ |
19 |
19 |
|
20 |
20 #ifndef WIDGETENTRY_H |
21 #ifndef WIDGETENTRY_H |
21 #define WIDGETENTRY_H |
22 #define WIDGETENTRY_H |
22 |
23 |
23 // INCLUDES |
24 // INCLUDES |
24 #include <widgetpropertyvalue.h> |
25 #include "WidgetPropertyValue.h" |
25 #include "WidgetRegistryXml.h" |
26 #include "WidgetRegistryXml.h" |
26 |
27 |
27 // FORWARD DECLARATIONS |
28 // FORWARD DECLARATIONS |
28 class RFileWriteStream; |
29 class RFileWriteStream; |
29 class RFileReadStream; |
30 class RFileReadStream; |
|
31 |
30 |
32 |
31 /** |
33 /** |
32 * |
34 * |
33 * This class holds all information related to a widget |
35 * This class holds all information related to a widget |
34 * |
36 * |
180 |
182 |
181 /** |
183 /** |
182 * 2-phase constructor |
184 * 2-phase constructor |
183 */ |
185 */ |
184 void ConstructL(); |
186 void ConstructL(); |
185 |
|
186 /** |
|
187 * Property cleanup |
|
188 */ |
|
189 void PropertyCleanupL(); |
|
190 |
187 |
191 protected: |
188 protected: |
192 RPointerArray<CWidgetPropertyValue> iPropertyValues; |
189 RPointerArray<CWidgetPropertyValue> iPropertyValues; |
193 |
190 |
194 TInt iNetworkAccess; // bool, 1 if widget wants network access |
191 TInt iNetworkAccess; // bool, 1 if widget wants network access |
195 // info.plist EAllowNetworkAccess and part of EAllowFullAccess |
192 // info.plist EAllowNetworkAccess and part of EAllowFullAccess |
196 |
193 |
197 TInt iActive; // bool, 1 if widget is executing |
194 TInt iActive; // bool, 1 if widget is executing |
198 |
195 |
199 TInt iMiniView; // bool, 1 if launched in miniview |
196 TInt iMiniView; // bool, 1 if launched in miniview |
200 |
197 |
201 TInt iFullView; // bool, 1 if launched in fullview |
198 TInt iFullView; // bool, 1 if launched in fullview |
202 TInt iBlanketPermGranted; // bool, 1 if platform service access needs to be prompted |
199 TInt iBlanketPermGranted; // bool, 1 if platform service access needs to be prompted |
203 |
200 |
204 }; |
201 }; |
205 |
202 |
206 typedef RPointerArray<CWidgetEntry> RWidgetArray; |
203 typedef RPointerArray<CWidgetEntry> RWidgetArray; |