imagehandlingutilities/thumbnailmanager/thumbagdaemon/inc/thumbagprocessor.h
branchRCL_3
changeset 14 ad31f4183ddc
parent 13 ffb2d5dd62e9
child 17 ff2fb7658ff7
equal deleted inserted replaced
13:ffb2d5dd62e9 14:ad31f4183ddc
    41  *
    41  *
    42  *  @since S60 v5.0
    42  *  @since S60 v5.0
    43  */
    43  */
    44 class CThumbAGProcessor: public CActive,
    44 class CThumbAGProcessor: public CActive,
    45                          public MThumbnailManagerObserver,
    45                          public MThumbnailManagerObserver,
       
    46                          public MThumbnailManagerRequestObserver,
    46                          public MMdEQueryObserver,
    47                          public MMdEQueryObserver,
    47                          public MHarvesterEventObserver,
    48                          public MHarvesterEventObserver,
    48                          public MMPXCollectionObserver,
    49                          public MMPXCollectionObserver,
    49                          public MTMActivityManagerObserver,
    50                          public MTMActivityManagerObserver,
    50                          public MTMFormatObserver,
    51                          public MTMFormatObserver,
    76     void HandleQueryCompleted( CMdEQuery& aQuery, TInt aError );
    77     void HandleQueryCompleted( CMdEQuery& aQuery, TInt aError );
    77     
    78     
    78     // from MThumbnailManagerObserver
    79     // from MThumbnailManagerObserver
    79     void ThumbnailPreviewReady( MThumbnailData& aThumbnail, TThumbnailRequestId aId );
    80     void ThumbnailPreviewReady( MThumbnailData& aThumbnail, TThumbnailRequestId aId );
    80     void ThumbnailReady( TInt aError, MThumbnailData& aThumbnail, TThumbnailRequestId aId );
    81     void ThumbnailReady( TInt aError, MThumbnailData& aThumbnail, TThumbnailRequestId aId );
       
    82     // from MThumbnailManagerRequestObserver
       
    83     void ThumbnailRequestReady( TInt aError, TThumbnailRequestType aRequestType, TThumbnailRequestId aId  );
    81 
    84 
    82     // from MHarvesterEventObserver
    85     // from MHarvesterEventObserver
    83     void HarvestingUpdated( 
    86     void HarvestingUpdated( 
    84              HarvesterEventObserverType aHEObserverType, 
    87              HarvesterEventObserverType aHEObserverType, 
    85              HarvesterEventState aHarvesterEventState,
    88              HarvesterEventState aHarvesterEventState,
   308     TBool iPHHarvestingTemp;
   311     TBool iPHHarvestingTemp;
   309     
   312     
   310     //MDS Harvester's SD card harvesting state
   313     //MDS Harvester's SD card harvesting state
   311     TBool iMMCHarvesting;
   314     TBool iMMCHarvesting;
   312     TBool iMMCHarvestingTemp;
   315     TBool iMMCHarvestingTemp;
   313     
       
   314     
   316     
   315     CPeriodic* iPeriodicTimer;
   317     CPeriodic* iPeriodicTimer;
   316 
   318 
   317 	//MDS Harvester client
   319 	//MDS Harvester client
   318     RHarvesterClient iHarvesterClient;
   320     RHarvesterClient iHarvesterClient;
   344     
   346     
   345     MMPXCollectionUtility* iCollectionUtility; // own
   347     MMPXCollectionUtility* iCollectionUtility; // own
   346     
   348     
   347 	//Flag is MPX harvesting or MTP synchronisation in progress
   349 	//Flag is MPX harvesting or MTP synchronisation in progress
   348     TBool iMPXHarvesting;
   350     TBool iMPXHarvesting;
   349     //inactivity polling timer
   351 
   350     CPeriodic* iInactivityTimer;
       
   351     //overall status of device
   352     //overall status of device
   352     TBool iIdle;
   353     TBool iIdle;
   353     
   354     
   354     CTMActivityManager* iActivityManager;
   355     CTMActivityManager* iActivityManager;
   355     
   356