harvester/server/inc/harvesterao.h
branchRCL_3
changeset 7 3cebc1a84278
parent 3 6752808b2036
child 9 82c0024438c8
equal deleted inserted replaced
6:646a02f170b9 7:3cebc1a84278
    33 #include "harvesterpluginfactory.h"
    33 #include "harvesterpluginfactory.h"
    34 #include "unmounthandlerao.h"
    34 #include "unmounthandlerao.h"
    35 #include "harvesteroomao.h"
    35 #include "harvesteroomao.h"
    36 #include "backupsubscriber.h"
    36 #include "backupsubscriber.h"
    37 #include "harvestermediaidutil.h"
    37 #include "harvestermediaidutil.h"
       
    38 #include "harvesterdiskspaceobserver.h"
    38 
    39 
    39 
    40 
    40 // forward declarations
    41 // forward declarations
    41 class CHarvesterBlacklist;
    42 class CHarvesterBlacklist;
    42 class MProcessOriginMapperInterface;
    43 class MProcessOriginMapperInterface;
    97                      public MContextInitializationObserver,
    98                      public MContextInitializationObserver,
    98                      public MContextSnapshotObserver,
    99                      public MContextSnapshotObserver,
    99                      public MMdESessionObserver,
   100                      public MMdESessionObserver,
   100                      public MBackupRestoreObserver,
   101                      public MBackupRestoreObserver,
   101                      public MUnmountObserver,
   102                      public MUnmountObserver,
   102                      public MHarvesterOomObserver
   103                      public MHarvesterOomObserver,
       
   104                      public MMdSHarvesterDiskSpaceObserver
   103 	{
   105 	{
   104     public:
   106     public:
   105     
   107     
   106         enum TRequest
   108         enum TRequest
   107         	{
   109         	{
   277          * From MBackupRestoreObserver.
   279          * From MBackupRestoreObserver.
   278          * Called by CBlacklistBackupSubscriberAO when
   280          * Called by CBlacklistBackupSubscriberAO when
   279          * Backup&Restore has finished backup or restore.
   281          * Backup&Restore has finished backup or restore.
   280          */
   282          */
   281         void BackupRestoreReady();
   283         void BackupRestoreReady();
       
   284 
       
   285         // From MMdSHarvesterDiskSpaceObserver
       
   286         void HandleDiskSpaceNotificationL( TDiskSpaceDirection aCrossDirection );
   282         
   287         
   283         /** */  	
   288         /** */  	
   284         void HandleUnmount( TUint32 aMediaId );
   289         void HandleUnmount( TUint32 aMediaId );
   285         
   290         
   286         void SetHarvesterStatusObserver( MHarvesterStatusObserver* aObserver );
   291         void SetHarvesterStatusObserver( MHarvesterStatusObserver* aObserver );
   544         
   549         
   545         TBool iMassMemoryIdChecked;
   550         TBool iMassMemoryIdChecked;
   546         
   551         
   547         // Own.
   552         // Own.
   548         CDesCArray* iCameraExtensionArray;
   553         CDesCArray* iCameraExtensionArray;
       
   554 
       
   555         /**
       
   556         * Notifier for situations where free disk space runs out. Own
       
   557         */
       
   558         CMdSHarvesterDiskspaceObserverAO* iDiskFullNotifier;
       
   559         
       
   560         TBool iRamFull;
       
   561         
       
   562         TBool iDiskFull;
       
   563         
       
   564         TBool iManualPauseEnabled;
       
   565         
       
   566         TBool iFastHarvestNeeded;
       
   567         
       
   568         TBool iHarvestingPlaceholders;
   549 	};
   569 	};
   550 	
   570 	
   551 #endif //__CHARVESTERAO_H__
   571 #endif //__CHARVESTERAO_H__