webengine/widgetregistry/Server/src/WidgetRegistryXml.cpp
branchRCL_3
changeset 48 79859ed3eea9
parent 35 1f3c3f2f5b0a
child 49 919f36ff910f
equal deleted inserted replaced
47:e1bea15f9a39 48:79859ed3eea9
    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 _LIT( KPreInstalled,         "PreInstalled" );
    47 _LIT( KProcessUid,           "ProcessUid" );
       
    48 _LIT( KMimeType,             "MimeType" );
       
    49 
    47 
    50 static void XmlFree( TAny* aPtr )
    48 static void XmlFree( TAny* aPtr )
    51     {
    49     {
    52     __ASSERT_DEBUG( aPtr, User::Invariant() );
    50     __ASSERT_DEBUG( aPtr, User::Invariant() );
    53     xmlChar* ptr( (xmlChar*)(aPtr ) );
    51     xmlChar* ptr( (xmlChar*)(aPtr ) );
   192     iProperties.AppendL(property);
   190     iProperties.AppendL(property);
   193     //
   191     //
   194     property.id = EPreInstalled;
   192     property.id = EPreInstalled;
   195     property.name.Set( KPreInstalled );
   193     property.name.Set( KPreInstalled );
   196     property.type = EWidgetPropTypeInt;
   194     property.type = EWidgetPropTypeInt;
   197     iProperties.AppendL(property);
       
   198     //
       
   199     property.id = EProcessUid;
       
   200     property.name.Set( KProcessUid );
       
   201     property.type = EWidgetPropTypeInt; // not TUid
       
   202     iProperties.AppendL(property);
       
   203     //
       
   204     property.id = EMimeType;
       
   205     property.name.Set( KMimeType );
       
   206     property.type = EWidgetPropTypeString;
       
   207     iProperties.AppendL(property);
   195     iProperties.AppendL(property);
   208     }
   196     }
   209 
   197 
   210 // ============================================================================
   198 // ============================================================================
   211 // CWidgetRegistryXml::~CWidgetRegistryXml()
   199 // CWidgetRegistryXml::~CWidgetRegistryXml()