--- a/idlehomescreen/xmluirendering/uiengine/src/xncomposer.cpp Wed Sep 01 12:32:46 2010 +0100
+++ b/idlehomescreen/xmluirendering/uiengine/src/xncomposer.cpp Tue Sep 14 20:58:58 2010 +0300
@@ -52,6 +52,9 @@
_LIT( KCDrive, "C:" );
_LIT8( KTagXuikon, "xuikon" );
+_LIT8( KTemplateViewSetting, "templateView" );
+_LIT8( KViewUidSetting, "uid" );
+
using namespace hspswrapper;
// ======== LOCAL FUNCTIONS ========
@@ -512,6 +515,25 @@
return NULL;
}
+ RPointerArray<CItemMap>& settings( configuration->Settings() );
+
+ for ( TInt i = 0; i < settings.Count(); i++ )
+ {
+ CItemMap* setting( settings[i] );
+ if ( (setting != NULL) && setting->ItemId() == KTemplateViewSetting )
+ {
+ RPointerArray<CPropertyMap>& properties = setting->Properties();
+ for ( TInt j = 0; j < properties.Count(); j++ )
+ {
+ CPropertyMap* property( properties[i] );
+ if ( (property != NULL) && property->Name() == KViewUidSetting )
+ {
+ aRootData.SetTemplateViewUidL( property->Value() );
+ }
+ }
+ }
+ }
+
CPluginInfo& info( configuration->PluginInfo() );
aRootData.SetOwner( root );