widgets/widgetinstaller/src/WidgetUIConfigHandler.cpp
changeset 17 c8a366e56285
parent 16 a359256acfc6
child 36 0ed94ceaa377
equal deleted inserted replaced
16:a359256acfc6 17:c8a366e56285
    62 _LIT( KNokiaIdentifier,            "Identifier" );              // required
    62 _LIT( KNokiaIdentifier,            "Identifier" );              // required
    63 _LIT( KNokiaDisplayName,           "DisplayName" );             // required
    63 _LIT( KNokiaDisplayName,           "DisplayName" );             // required
    64 _LIT( KNokiaVersion,               "Version" );                 // optional
    64 _LIT( KNokiaVersion,               "Version" );                 // optional
    65 _LIT( KNokiaMiniViewEnabled,       "MiniViewEnabled" );         // optional
    65 _LIT( KNokiaMiniViewEnabled,       "MiniViewEnabled" );         // optional
    66 _LIT( KBlanketPermGranted,         "BlanketPermissionGranted" ); 
    66 _LIT( KBlanketPermGranted,         "BlanketPermissionGranted" ); 
       
    67 _LIT( KPreInstalled,               "PreInstalled" );            // optional
    67 
    68 
    68 // Apple/Nokia shared key names
    69 // Apple/Nokia shared key names
    69 _LIT( KMainHTML,                   "MainHTML" );                // required
    70 _LIT( KMainHTML,                   "MainHTML" );                // required
    70 _LIT( KAllowNetworkAccess,         "AllowNetworkAccess" );      // optional
    71 _LIT( KAllowNetworkAccess,         "AllowNetworkAccess" );      // optional
    71 _LIT( KHeight,                     "Height" );                  // optional
    72 _LIT( KHeight,                     "Height" );                  // optional
   215     //
   216     //
   216     iProperties[EPropertyDescriptionNokiaPromptNeeded].id = EBlanketPermGranted;
   217     iProperties[EPropertyDescriptionNokiaPromptNeeded].id = EBlanketPermGranted;
   217     iProperties[EPropertyDescriptionNokiaPromptNeeded].name.Set( KBlanketPermGranted );
   218     iProperties[EPropertyDescriptionNokiaPromptNeeded].name.Set( KBlanketPermGranted );
   218     iProperties[EPropertyDescriptionNokiaPromptNeeded].type = EWidgetPropTypeInt;
   219     iProperties[EPropertyDescriptionNokiaPromptNeeded].type = EWidgetPropTypeInt;
   219     iProperties[EPropertyDescriptionNokiaPromptNeeded].flags = CONFIG_NOKIA_MAY;
   220     iProperties[EPropertyDescriptionNokiaPromptNeeded].flags = CONFIG_NOKIA_MAY;
       
   221     //
       
   222     iProperties[EPropertyDescriptionNokiaPreInstalled].id = EPreInstalled;
       
   223     iProperties[EPropertyDescriptionNokiaPreInstalled].name.Set( KPreInstalled );
       
   224     iProperties[EPropertyDescriptionNokiaPreInstalled].type = EWidgetPropTypeBool;
       
   225     iProperties[EPropertyDescriptionNokiaPreInstalled].flags = CONFIG_NOKIA_MAY;
   220     }
   226     }
   221 
   227 
   222 // ============================================================================
   228 // ============================================================================
   223 // CWidgetUIConfigHandler::ConstructL()
   229 // CWidgetUIConfigHandler::ConstructL()
   224 // C++ constructor
   230 // C++ constructor