idlehomescreen/inc/xnviewmanager.h
branchRCL_3
changeset 23 7be2816dbabd
parent 19 79311d856354
child 28 d721605b30d0
equal deleted inserted replaced
19:79311d856354 23:7be2816dbabd
    38 class CXnControlAdapter;
    38 class CXnControlAdapter;
    39 class CXnAppUiAdapter;
    39 class CXnAppUiAdapter;
    40 class CHsContentInfo;
    40 class CHsContentInfo;
    41 class CXnViewAdapter;
    41 class CXnViewAdapter;
    42 class CXnOomSysHandler;
    42 class CXnOomSysHandler;
    43 class CIdle;
       
    44 
    43 
    45 namespace hspswrapper
    44 namespace hspswrapper
    46     {
    45     {
    47     class CHspsWrapper;
    46     class CHspsWrapper;
    48     }
    47     }
   200     TInt MaxPages() const;
   199     TInt MaxPages() const;
   201     
   200     
   202     CXnOomSysHandler& OomSysHandler() const;
   201     CXnOomSysHandler& OomSysHandler() const;
   203     
   202     
   204     void UpdatePageManagementInformationL();
   203     void UpdatePageManagementInformationL();
   205 
   204                   
   206     void OrientationChanged();
   205     void ShowErrorL( TInt aResource ) const;
   207 
   206     
       
   207     void PublishersReadyL( CXnViewData& aViewData, TInt aResult );
       
   208         
   208 private:
   209 private:
   209     // new functions
   210     // new functions
   210     
   211     
   211     void NotifyContainerChangedL( CXnViewData& aViewToActivate );       
   212     void NotifyContainerChangedL( CXnViewData& aViewToActivate );       
   212 
   213 
   233     CXnViewData& NextViewData() const;
   234     CXnViewData& NextViewData() const;
   234 
   235 
   235     void UpdateCachesL();
   236     void UpdateCachesL();
   236           
   237           
   237     void ReportWidgetAmountL( const CXnViewData& aViewData );
   238     void ReportWidgetAmountL( const CXnViewData& aViewData );
   238     
   239                 
   239     void ShowDiskFullMessageL() const;
       
   240           
       
   241     TInt ResolveIconIndex( TInt aPageCount, TInt aPageNum ) const;
   240     TInt ResolveIconIndex( TInt aPageCount, TInt aPageNum ) const;
   242     
   241     
   243     /**
   242     /**
   244      * Callback for stability timer
   243      * Callback for stability timer
   245      * 
   244      * 
   250 
   249 
   251     /**
   250     /**
   252      * Reset crash count
   251      * Reset crash count
   253      */
   252      */
   254     void ResetCrashCount();    
   253     void ResetCrashCount();    
   255 
       
   256     /**
       
   257      * Show error note from resource.
       
   258      */
       
   259     void ShowErrorNoteL();   
       
   260     
   254     
   261     void DoRobustnessCheckL();
   255     void DoRobustnessCheckL();
   262     
   256     
       
   257     static TInt ContainerActivated( TAny* aAny );
       
   258               
   263 private:
   259 private:
   264     // data
   260     // data
   265 
   261 
   266     /**
   262     /**
   267      * AppUi adapter.
   263      * AppUi adapter.
   346      * Own.
   342      * Own.
   347      */
   343      */
   348     CPeriodic* iStabilityTimer;
   344     CPeriodic* iStabilityTimer;
   349 
   345 
   350     /**
   346     /**
   351      * Flag for current orientation.
   347      * Flag to indicate first view activation
   352      */    
   348      */
   353     TBool iIsLandscapeOrientation;
   349     TBool iUiReady;
       
   350     	
       
   351     /**
       
   352      * Async callback
       
   353      * Own. 
       
   354      */
       
   355     CPeriodic* iAsyncCb;
   354     
   356     
   355 private:   
   357 private:   
   356     // Friend classes
   358     // Friend classes
   357     
   359     
   358     friend class CXnViewAdapter;           
   360     friend class CXnViewAdapter;