htiui/HtiServicePlugins/HtiSysInfoServicePlugin/inc/HtiSysInfoServicePlugin.h
changeset 11 4df3a095718c
parent 10 e6e3e87d58b4
child 31 e7a04a6385be
equal deleted inserted replaced
10:e6e3e87d58b4 11:4df3a095718c
    19 
    19 
    20 #ifndef HTISYSINFOPLUGIN_H
    20 #ifndef HTISYSINFOPLUGIN_H
    21 #define HTISYSINFOPLUGIN_H
    21 #define HTISYSINFOPLUGIN_H
    22 
    22 
    23 // INCLUDES
    23 // INCLUDES
       
    24 #include "../../../symbian_version.hrh"
       
    25 
    24 #include <e32property.h>
    26 #include <e32property.h>
    25 #include <f32file.h>
    27 #include <f32file.h>
    26 #include <HtiServicePluginInterface.h>
    28 #include <HtiServicePluginInterface.h>
    27 
    29 
    28 // FORWARD DECLARATIONS
    30 // FORWARD DECLARATIONS
    46         void ProcessMessageL( const TDesC8& aMessage,
    48         void ProcessMessageL( const TDesC8& aMessage,
    47                               THtiMessagePriority aPriority );
    49                               THtiMessagePriority aPriority );
    48 
    50 
    49         void NotifyMemoryChange( TInt aAvailableMemory );
    51         void NotifyMemoryChange( TInt aAvailableMemory );
    50 
    52 
       
    53 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
    51         static TInt HandleAllowSSPropertyChange( TAny* aPtr );
    54         static TInt HandleAllowSSPropertyChange( TAny* aPtr );
       
    55 #endif
    52 
    56 
    53     protected:
    57     protected:
    54 
    58 
    55         CHtiSysInfoServicePlugin();
    59         CHtiSysInfoServicePlugin();
    56         void ConstructL();
    60         void ConstructL();
    96         void HandleActivateSkinL( const TDesC8& aMessage );
   100         void HandleActivateSkinL( const TDesC8& aMessage );
    97 
   101 
    98         void ParseTimeDataL( const TDesC8& aTimeData, TTime& aResult );
   102         void ParseTimeDataL( const TDesC8& aTimeData, TTime& aResult );
    99         TInt CleanUpTempFiles();
   103         TInt CleanUpTempFiles();
   100         TBool CanTurnBluetoothOnL( const TBool aUseForce );
   104         TBool CanTurnBluetoothOnL( const TBool aUseForce );
       
   105         TInt CreatFileToEatDiskSpace( TFileName aPath, TInt64 aSpaceToEat  );
   101 
   106 
   102     private: // private data
   107     private: // private data
   103         RFs iFs;
   108         RFs iFs;
   104         CFileMan* iFileMan;
   109         CFileMan* iFileMan;
   105         HBufC8* iMemEater;
   110         HBufC8* iMemEater;
   106         HBufC8* iReply;
   111         HBufC8* iReply;
   107         CHtiLightsController* iLightsController;
   112         CHtiLightsController* iLightsController;
       
   113         CHtiPropertySubscriber* iAllowSSSubscriber;
       
   114 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 )
   108         TInt iAllowSSValue;
   115         TInt iAllowSSValue;
   109         CHtiPropertySubscriber* iAllowSSSubscriber;
       
   110         RProperty iAllowSSProperty;
   116         RProperty iAllowSSProperty;
   111         TBool iAllowSSPropertyAttached;
   117         TBool iAllowSSPropertyAttached;
       
   118 #endif
   112         TBool iGalleryUpdateSupported;
   119         TBool iGalleryUpdateSupported;
   113     };
   120     };
   114 
   121 
   115 
   122 
   116 // CLASS DECLARATION
   123 // CLASS DECLARATION
   135         void DoCancel();
   142         void DoCancel();
   136 
   143 
   137     private:
   144     private:
   138         CActiveSchedulerWait* iWait;
   145         CActiveSchedulerWait* iWait;
   139         TInt iResult;
   146         TInt iResult;
       
   147         
   140     };
   148     };
   141 
   149 
   142 
   150 
   143 // CLASS DECLARATION
   151 // CLASS DECLARATION
   144 /**
   152 /**