widgets/widgetinstaller/src/WidgetUIConfigHandler.cpp
changeset 11 c8a366e56285
parent 10 a359256acfc6
child 25 0ed94ceaa377
--- a/widgets/widgetinstaller/src/WidgetUIConfigHandler.cpp	Thu Aug 27 07:44:59 2009 +0300
+++ b/widgets/widgetinstaller/src/WidgetUIConfigHandler.cpp	Thu Sep 24 12:53:48 2009 +0300
@@ -64,6 +64,7 @@
 _LIT( KNokiaVersion,               "Version" );                 // optional
 _LIT( KNokiaMiniViewEnabled,       "MiniViewEnabled" );         // optional
 _LIT( KBlanketPermGranted,         "BlanketPermissionGranted" ); 
+_LIT( KPreInstalled,               "PreInstalled" );            // optional
 
 // Apple/Nokia shared key names
 _LIT( KMainHTML,                   "MainHTML" );                // required
@@ -217,6 +218,11 @@
     iProperties[EPropertyDescriptionNokiaPromptNeeded].name.Set( KBlanketPermGranted );
     iProperties[EPropertyDescriptionNokiaPromptNeeded].type = EWidgetPropTypeInt;
     iProperties[EPropertyDescriptionNokiaPromptNeeded].flags = CONFIG_NOKIA_MAY;
+    //
+    iProperties[EPropertyDescriptionNokiaPreInstalled].id = EPreInstalled;
+    iProperties[EPropertyDescriptionNokiaPreInstalled].name.Set( KPreInstalled );
+    iProperties[EPropertyDescriptionNokiaPreInstalled].type = EWidgetPropTypeBool;
+    iProperties[EPropertyDescriptionNokiaPreInstalled].flags = CONFIG_NOKIA_MAY;
     }
 
 // ============================================================================