webengine/widgetregistry/Server/src/WidgetRegistryXml.cpp
branchRCL_3
changeset 35 1f3c3f2f5b0a
parent 11 c8a366e56285
child 48 79859ed3eea9
equal deleted inserted replaced
34:220a17280356 35:1f3c3f2f5b0a
    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" );
    47 
    49 
    48 static void XmlFree( TAny* aPtr )
    50 static void XmlFree( TAny* aPtr )
    49     {
    51     {
    50     __ASSERT_DEBUG( aPtr, User::Invariant() );
    52     __ASSERT_DEBUG( aPtr, User::Invariant() );
    51     xmlChar* ptr( (xmlChar*)(aPtr ) );
    53     xmlChar* ptr( (xmlChar*)(aPtr ) );
   190     iProperties.AppendL(property);
   192     iProperties.AppendL(property);
   191     //
   193     //
   192     property.id = EPreInstalled;
   194     property.id = EPreInstalled;
   193     property.name.Set( KPreInstalled );
   195     property.name.Set( KPreInstalled );
   194     property.type = EWidgetPropTypeInt;
   196     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;
   195     iProperties.AppendL(property);
   207     iProperties.AppendL(property);
   196     }
   208     }
   197 
   209 
   198 // ============================================================================
   210 // ============================================================================
   199 // CWidgetRegistryXml::~CWidgetRegistryXml()
   211 // CWidgetRegistryXml::~CWidgetRegistryXml()