idlehomescreen/xmluirendering/uiengine/inc/xnrootdata.h
branchRCL_3
changeset 102 ba63c83f4716
parent 93 b01126ce0bec
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
    91     // New functions
    91     // New functions
    92         
    92         
    93     /**
    93     /**
    94      * Loads remaining application views
    94      * Loads remaining application views
    95      */    
    95      */    
    96     void LoadRemainingViewsL();
    96     void LoadRemainingViews();
    97 
    97 
    98     /**
    98     /**
    99      * Cancels load remaining application views
    99      * Cancels load remaining application views
   100      */        
   100      */        
   101     void CancelLoadRemainingViews();
   101     void CancelLoadRemainingViews();
   118      * Gets next view data from currently active one
   118      * Gets next view data from currently active one
   119      * 
   119      * 
   120      * @return Next view data
   120      * @return Next view data
   121      */                
   121      */                
   122     CXnViewData& NextViewData() const;
   122     CXnViewData& NextViewData() const;
   123 
       
   124     /**
       
   125      * Gets a view data, where the given node belongs to.
       
   126      * 
       
   127      * @return Acquired view data. NULL if not found.
       
   128      */                
       
   129     CXnViewData* ViewData( CXnNode& aNode ) const;
       
   130 
   123 
   131     /**
   124     /**
   132      * Sets view data to destroyal list
   125      * Sets view data to destroyal list
   133      *
   126      *
   134      * @param aViewData View data to destroy      
   127      * @param aViewData View data to destroy      
   174      * Get maximum pages allowed
   167      * Get maximum pages allowed
   175      * 
   168      * 
   176      * @return number of pages allowed
   169      * @return number of pages allowed
   177      */
   170      */
   178     TInt32 MaxPages();
   171     TInt32 MaxPages();
   179     
   172 
   180     /**
       
   181      * Returns template view's uid
       
   182      * 
       
   183      * @return Returns template view's uid, or if not set qhd default
       
   184      */
       
   185     const TDesC8& TemplateViewUid() const;
       
   186     
       
   187     /**
       
   188      * Sets template view's uid
       
   189      * 
       
   190      * @param Template view's uid
       
   191      */
       
   192     void SetTemplateViewUidL( const TDesC8& aTemplateViewUid );
       
   193     
       
   194     /**
   173     /**
   195      * Returns ETrue, if all views are loaded
   174      * Returns ETrue, if all views are loaded
   196      */
   175      */
   197     TBool AllViewsLoaded() const;
   176     TBool AllViewsLoaded() const;
   198 
   177 
   225     RPointerArray< CXnViewData > iViewsToDestroy;    
   204     RPointerArray< CXnViewData > iViewsToDestroy;    
   226     /** Flag to determine remaining view load direction */
   205     /** Flag to determine remaining view load direction */
   227     TBool iLoadForward;
   206     TBool iLoadForward;
   228     /** Maximum of views allowed */
   207     /** Maximum of views allowed */
   229     TInt32 iMaxPages;
   208     TInt32 iMaxPages;
   230     /** Template view uid is uid of the view when user selects New view */
       
   231     HBufC8* iTemplateViewUid;
       
   232     /** Load error code */
   209     /** Load error code */
   233     TInt iLoadError;
   210     TInt iLoadError;
   234     };
   211     };
   235 
   212 
   236 #endif // _XNROOTDATA_H
   213 #endif // _XNROOTDATA_H