idlehomescreen/xmluicontroller/inc/contentrenderer.h
changeset 4 4d54b72983ae
parent 0 f72a12da539e
child 9 f966699dea19
--- a/idlehomescreen/xmluicontroller/inc/contentrenderer.h	Fri Jan 22 09:35:14 2010 +0200
+++ b/idlehomescreen/xmluicontroller/inc/contentrenderer.h	Tue Jan 26 11:48:23 2010 +0200
@@ -22,6 +22,7 @@
 #include <e32base.h>
 #include <e32hashtab.h>
 #include "xnnewsticker.h"
+#include "xnproperty.h"
 #include "aicontentobserver.h"
 
 class TXnUiEngineAppIf;
@@ -124,7 +125,21 @@
     TAny* Extension( TUid aUid );
     
     TBool RequiresSubscription( const TAiPublisherInfo& aPublisherInfo ) const;
-	        
+    
+    TInt SetProperty(MAiPropertyExtension& aPlugin,
+            const TDesC8& aElementId,
+            const TDesC8& aPropertyName,
+            const TDesC8& aPropertyValue );
+       
+    TInt SetProperty(MAiPropertyExtension& aPlugin,
+            const TDesC8& aElementId,
+            const TDesC8& aPropertyName,
+            const TDesC8& aPropertyValue,  
+            MAiContentObserver::TValueType aValueType);  
+    
+    CXnDomPropertyValue::TPrimitiveValueType 
+        DomPropertyValueType(MAiContentObserver::TValueType aValueType);
+
 private:
 
     CContentRenderer( CAppUi& aAppUi );
@@ -204,6 +219,12 @@
     
     void RegisterNewstickerCallbackInterfaceL( CXnNodeAppIf& aTarget );
     
+    TInt SetPropertyL(MAiPropertyExtension& aPlugin,
+               const TDesC8& aElementId,
+               const TDesC8& aPropertyName,
+               const TDesC8& aPropertyValue,  
+               MAiContentObserver::TValueType aValueType);
+
 // From XnNewstickerInterface::MXnNewstickerCallbackInterface    
 
     void TitleScrolled(TInt aTitleIndex);