webengine/widgetregistry/Server/src/WidgetRegistryXml.cpp
changeset 11 c8a366e56285
parent 0 dd21522fd290
child 35 1f3c3f2f5b0a
equal deleted inserted replaced
10:a359256acfc6 11:c8a366e56285
    41 _LIT( KFileSize,             "FileSize" );
    41 _LIT( KFileSize,             "FileSize" );
    42 _LIT( KUid,                  "Uid" );
    42 _LIT( KUid,                  "Uid" );
    43 _LIT( KNokiaWidget,          "NokiaWidget" );
    43 _LIT( KNokiaWidget,          "NokiaWidget" );
    44 _LIT( KMiniViewEnabled,      "MiniViewEnabled" );
    44 _LIT( KMiniViewEnabled,      "MiniViewEnabled" );
    45 _LIT( KBlanketPermGranted,   "BlanketPermissionGranted" );         // optional
    45 _LIT( KBlanketPermGranted,   "BlanketPermissionGranted" );         // optional
       
    46 _LIT( KPreInstalled,         "PreInstalled" );
    46 
    47 
    47 static void XmlFree( TAny* aPtr )
    48 static void XmlFree( TAny* aPtr )
    48     {
    49     {
    49     __ASSERT_DEBUG( aPtr, User::Invariant() );
    50     __ASSERT_DEBUG( aPtr, User::Invariant() );
    50     xmlChar* ptr( (xmlChar*)(aPtr ) );
    51     xmlChar* ptr( (xmlChar*)(aPtr ) );
   183     property.type = EWidgetPropTypeInt;
   184     property.type = EWidgetPropTypeInt;
   184     iProperties.AppendL(property);
   185     iProperties.AppendL(property);
   185     //
   186     //
   186     property.id = EBlanketPermGranted;
   187     property.id = EBlanketPermGranted;
   187     property.name.Set( KBlanketPermGranted );
   188     property.name.Set( KBlanketPermGranted );
       
   189     property.type = EWidgetPropTypeInt;
       
   190     iProperties.AppendL(property);
       
   191     //
       
   192     property.id = EPreInstalled;
       
   193     property.name.Set( KPreInstalled );
   188     property.type = EWidgetPropTypeInt;
   194     property.type = EWidgetPropTypeInt;
   189     iProperties.AppendL(property);
   195     iProperties.AppendL(property);
   190     }
   196     }
   191 
   197 
   192 // ============================================================================
   198 // ============================================================================