idlehomescreen/xmluirendering/uiengine/inc/xnviewdata.h
branchRCL_3
changeset 23 7be2816dbabd
parent 12 9674c1a575e9
equal deleted inserted replaced
19:79311d856354 23:7be2816dbabd
    96 
    96 
    97     /**
    97     /**
    98      * @see CXnPluginData           
    98      * @see CXnPluginData           
    99      */    
    99      */    
   100     void PopupNodesL( RPointerArray< CXnNode >& aList ) const;
   100     void PopupNodesL( RPointerArray< CXnNode >& aList ) const;
   101             
   101 
       
   102     /**
       
   103      * @see CXnPluginData           
       
   104      */        
       
   105     void NotifyPublisherReadyL();
       
   106     
   102 public:   
   107 public:   
   103     // New functions
   108     // New functions
   104     
   109     
   105     /**
   110     /**
   106      * Sets viewdata to active/ not active
   111      * Sets viewdata to active/ not active
   107      * 
   112      * 
   108      * @param aActive ETrue active, EFalse not active    
   113      * @param aActive ETrue active, EFalse not active
   109      */
   114      * @return Activation Error code    
   110     void SetActive( TBool aActive );
   115      */
       
   116     TInt SetActive( TBool aActive );
   111     
   117     
   112     /**
   118     /**
   113      * Returns if active or not
   119      * Returns if active or not
   114      * 
   120      * 
   115      * @return ETrue active, EFalse otherwise
   121      * @return ETrue active, EFalse otherwise
   203     const TDesC& WallpaperImagePath() const;
   209     const TDesC& WallpaperImagePath() const;
   204 
   210 
   205     /**
   211     /**
   206      * Loads publishers to this view           
   212      * Loads publishers to this view           
   207      */
   213      */
   208     void LoadPublishers();    
   214     void LoadPublishers( TInt aReason );    
   209                    
   215                    
   210     /**
   216     /**
   211      * Destroys all publishers in this view
   217      * Destroys all publishers in this view
   212      * 
   218      * 
   213      * @param aReason Destroy reason
   219      * @param aReason Destroy reason
   214      */
   220      */
   215     void DestroyPublishers( TInt aReason );
   221     void DestroyPublishers( TInt aReason );
   216     
   222             
   217 private:
       
   218     // new functions
       
   219     
       
   220     static TInt DoLoadPublishersL( TAny* aAny );
       
   221     
       
   222     void DoDestroyPublishersL( TInt aReason );
       
   223     
       
   224 private:
   223 private:
   225     // data                              
   224     // data                              
   226     
   225     
   227     /** Pointer to wallpaper image, Owned */    
   226     /** Pointer to wallpaper image, Owned */    
   228     CFbsBitmap* iBgImage;    
   227     CFbsBitmap* iBgImage;    
   229     /** Path of the wallpaper image, including filename */    
   228     /** Path of the wallpaper image, including filename */    
   230     HBufC* iBgImagePath;            
   229     HBufC* iBgImagePath;    
   231     /** Publisher load index */
   230     /** Load error code */
   232     TInt iLoadIndex;    
   231     TInt iLoadError;
   233     /** Flag to indicate whether content removed error should be shown */
       
   234     TBool iShowContentRemoved;    
       
   235     };
   232     };
   236 
   233 
   237 #include "xnviewdata.inl"
   234 #include "xnviewdata.inl"
   238 
   235 
   239 #endif // _XNVIEWDATA_H
   236 #endif // _XNVIEWDATA_H