idlehomescreen/xmluicontroller/inc/contentrenderer.h
changeset 4 4d54b72983ae
parent 0 f72a12da539e
child 9 f966699dea19
equal deleted inserted replaced
3:fb3763350a08 4:4d54b72983ae
    20 #define C_CONTENTRENDERER_H
    20 #define C_CONTENTRENDERER_H
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <e32hashtab.h>
    23 #include <e32hashtab.h>
    24 #include "xnnewsticker.h"
    24 #include "xnnewsticker.h"
       
    25 #include "xnproperty.h"
    25 #include "aicontentobserver.h"
    26 #include "aicontentobserver.h"
    26 
    27 
    27 class TXnUiEngineAppIf;
    28 class TXnUiEngineAppIf;
    28 class CXnNodeAppIf;
    29 class CXnNodeAppIf;
    29 class CGulIcon;
    30 class CGulIcon;
   122     TInt Clean( MAiPropertyExtension& aPlugin, TInt aContent, TInt aIndex );
   123     TInt Clean( MAiPropertyExtension& aPlugin, TInt aContent, TInt aIndex );
   123 
   124 
   124     TAny* Extension( TUid aUid );
   125     TAny* Extension( TUid aUid );
   125     
   126     
   126     TBool RequiresSubscription( const TAiPublisherInfo& aPublisherInfo ) const;
   127     TBool RequiresSubscription( const TAiPublisherInfo& aPublisherInfo ) const;
   127 	        
   128     
       
   129     TInt SetProperty(MAiPropertyExtension& aPlugin,
       
   130             const TDesC8& aElementId,
       
   131             const TDesC8& aPropertyName,
       
   132             const TDesC8& aPropertyValue );
       
   133        
       
   134     TInt SetProperty(MAiPropertyExtension& aPlugin,
       
   135             const TDesC8& aElementId,
       
   136             const TDesC8& aPropertyName,
       
   137             const TDesC8& aPropertyValue,  
       
   138             MAiContentObserver::TValueType aValueType);  
       
   139     
       
   140     CXnDomPropertyValue::TPrimitiveValueType 
       
   141         DomPropertyValueType(MAiContentObserver::TValueType aValueType);
       
   142 
   128 private:
   143 private:
   129 
   144 
   130     CContentRenderer( CAppUi& aAppUi );
   145     CContentRenderer( CAppUi& aAppUi );
   131     
   146     
   132     void ConstructL();
   147     void ConstructL();
   202     
   217     
   203     TBool IsParentNewsticker( CXnNodeAppIf& aTarget );
   218     TBool IsParentNewsticker( CXnNodeAppIf& aTarget );
   204     
   219     
   205     void RegisterNewstickerCallbackInterfaceL( CXnNodeAppIf& aTarget );
   220     void RegisterNewstickerCallbackInterfaceL( CXnNodeAppIf& aTarget );
   206     
   221     
       
   222     TInt SetPropertyL(MAiPropertyExtension& aPlugin,
       
   223                const TDesC8& aElementId,
       
   224                const TDesC8& aPropertyName,
       
   225                const TDesC8& aPropertyValue,  
       
   226                MAiContentObserver::TValueType aValueType);
       
   227 
   207 // From XnNewstickerInterface::MXnNewstickerCallbackInterface    
   228 // From XnNewstickerInterface::MXnNewstickerCallbackInterface    
   208 
   229 
   209     void TitleScrolled(TInt aTitleIndex);
   230     void TitleScrolled(TInt aTitleIndex);
   210     
   231     
   211     void TitleToScroll(TInt aTitleIndex);
   232     void TitleToScroll(TInt aTitleIndex);