idlehomescreen/xmluirendering/uiengine/inc/xnviewdata.h
branchRCL_3
changeset 9 f966699dea19
parent 2 08c6ee43b396
child 15 ff572dfe6d86
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    60     // From CXnPluginData
    60     // From CXnPluginData
    61     
    61     
    62     /**
    62     /**
    63      * @see CXnPluginData           
    63      * @see CXnPluginData           
    64      */    
    64      */    
    65     void LoadL();
    65     TInt Load();
    66 
    66 
    67     /**
    67     /**
    68      * @see CXnPluginData           
    68      * @see CXnPluginData           
    69      */    
    69      */    
    70     void Destroy();
    70     void Destroy();
    91     
    91     
    92     /**
    92     /**
    93      * @see CXnPluginData           
    93      * @see CXnPluginData           
    94      */    
    94      */    
    95     void AppearanceNodesL( RPointerArray< CXnNode >& aList ) const;
    95     void AppearanceNodesL( RPointerArray< CXnNode >& aList ) const;
    96     
    96             
    97     /*
       
    98      * @see CXnPluginData
       
    99      */        
       
   100     void LoadDataPluginsL();    
       
   101 
       
   102     /*
       
   103      * @see CXnPluginData
       
   104      */            
       
   105     void DataPluginsLoadCompletedL( TInt aStatus );
       
   106     
       
   107     /*
       
   108      * @see CXnPluginData
       
   109      */    
       
   110     void DestroyDataPluginsL();
       
   111     
       
   112     /*
       
   113      * @see CXnPluginData
       
   114      */
       
   115     TBool DataPluginsLoaded() const;
       
   116     
       
   117 public:   
    97 public:   
   118     // New functions
    98     // New functions
   119     
    99     
   120     /**
   100     /**
   121      * Sets viewdata to active/ not active
   101      * Sets viewdata to active/ not active
   122      * 
   102      * 
   123      * @param aActive ETrue active, EFalse not active
   103      * @param aActive ETrue active, EFalse not active    
   124      */
   104      */
   125     void SetActiveL( TBool aActive );
   105     void SetActive( TBool aActive );
   126     
   106     
   127     /**
   107     /**
   128      * Returns if active or not
   108      * Returns if active or not
   129      * 
   109      * 
   130      * @return ETrue active, EFalse otherwise
   110      * @return ETrue active, EFalse otherwise
   141      * 
   121      * 
   142      * @return ETrue initial, EFalse otherwise
   122      * @return ETrue initial, EFalse otherwise
   143      */
   123      */
   144     inline TBool Initial() const;
   124     inline TBool Initial() const;
   145     
   125     
   146     /**
       
   147      * Sets focused node
       
   148      * 
       
   149      * @param aNode Focused node
       
   150      */
       
   151     inline void SetFocusedNode( CXnNode* aNode );
       
   152     
       
   153     /**
       
   154      * Returns focused node
       
   155      * 
       
   156      * @return focused node
       
   157      */
       
   158     inline CXnNode* FocusedNode() const;
       
   159 
       
   160     /**
   126     /**
   161      * Sets this view data to use empty widget
   127      * Sets this view data to use empty widget
   162      * 
   128      * 
   163      * @param aUse ETrue use, EFalse don't use
   129      * @param aUse ETrue use, EFalse don't use
   164      */    
   130      */    
   236      * is prevented from removing/deleting or not
   202      * is prevented from removing/deleting or not
   237      * 
   203      * 
   238      * @param aLockingStatusString attr. locking_status ("locked"/"none")
   204      * @param aLockingStatusString attr. locking_status ("locked"/"none")
   239      */
   205      */
   240     void SetLockingStatus( const TDesC8& aLockingStatusString );
   206     void SetLockingStatus( const TDesC8& aLockingStatusString );
       
   207         
       
   208 private:
       
   209     // new functions
       
   210     
       
   211     void LoadPublishers();    
       
   212     
       
   213     void DestroyPublishers( TInt aReason );
       
   214     
       
   215     static TInt DoLoadPublishersL( TAny* aAny );
       
   216     
       
   217     void DoDestroyPublishersL( TInt aReason );
   241     
   218     
   242 private:
   219 private:
   243     // data                              
   220     // data                              
   244     
   221     
   245     /** Focused Node, Not owned */
       
   246     CXnNode* iFocusedNode;
       
   247 
       
   248     /** Pointer to wallpaper image, Owned */    
   222     /** Pointer to wallpaper image, Owned */    
   249     CFbsBitmap* iBgImage;
   223     CFbsBitmap* iBgImage;    
   250     
       
   251     /** Path of the wallpaper image, including filename */    
   224     /** Path of the wallpaper image, including filename */    
   252     HBufC* iBgImagePath;
   225     HBufC* iBgImagePath;            
       
   226     /** Publisher load index */
       
   227     TInt iLoadIndex;    
       
   228     /** Flag to indicate whether content removed error should be shown */
       
   229     TBool iShowContentRemoved;    
   253     };
   230     };
   254 
   231 
   255 #include "xnviewdata.inl"
   232 #include "xnviewdata.inl"
   256 
   233 
   257 #endif // _XNVIEWDATA_H
   234 #endif // _XNVIEWDATA_H