skins/AknSkins/srvinc/AknsSrvSettings.h
branchRCL_3
changeset 54 08459e712984
parent 26 800e0f20cfe9
child 106 e4e3998ddda2
equal deleted inserted replaced
45:6ef40bf8fd34 54:08459e712984
    62 // CLASS DECLARATIONS
    62 // CLASS DECLARATIONS
    63 
    63 
    64 class MAknsSrvSettingObserver
    64 class MAknsSrvSettingObserver
    65     {
    65     {
    66     public:
    66     public:
    67         virtual void NotifyBackupOperationEnd() =0;
    67         virtual void NotifyBackupOperationEndL() =0;
    68         virtual void NotifyLayoutChange(TBool aClearScalable = EFalse) =0;
    68         virtual void NotifyLayoutChange(TBool aClearScalable = EFalse) =0;
    69         virtual void NofifySkinChange() =0;
    69         virtual void NofifySkinChange() =0;
    70         virtual void NotifyIdleBackgroundChange() =0;
    70         virtual void NotifyIdleBackgroundChange() =0;
    71         virtual void NotifyDRMChange() =0;
    71         virtual void NotifyDRMChange() =0;
    72         virtual void NotifyUSBAttach() = 0;
    72         virtual void NotifyUSBAttach() = 0;
    73         virtual void NotifyUSBRemoval() = 0;
    73         virtual void NotifyUSBRemovalL() = 0;
    74         virtual void NotifySlideSetTimeoutChange() = 0;
    74         virtual void NotifySlideSetTimeoutChange() = 0;
    75         virtual void NotifySlideSetTypeChange() = 0;
    75         virtual void NotifySlideSetTypeChange() = 0;
    76         virtual void NotifyWallpaperTypeChange() = 0;
    76         virtual void NotifyWallpaperTypeChangeL() = 0;
    77         // Observer interface for screensaver state changes.
    77         // Observer interface for screensaver state changes.
    78         virtual void NotifyScreenSaverChange() = 0;
    78         virtual void NotifyScreenSaverChange() = 0;
    79         virtual void NotifyTransitionFxChange() = 0;
    79         virtual void NotifyTransitionFxChange() = 0;
    80         virtual void NotifyDriveChange( const TInt& aDrive, const TBool& aMediaNotPresent ) =0;
    80         virtual void NotifyDriveChange( const TInt& aDrive, const TBool& aMediaNotPresent ) =0;
    81         virtual void NotifyBackupOperationBegin() =0;
    81         virtual void NotifyBackupOperationBegin() =0;
    92             MAknsSrvSettingObserver* aObserver,
    92             MAknsSrvSettingObserver* aObserver,
    93             RFs& aFileSystemSession );
    93             RFs& aFileSystemSession );
    94 
    94 
    95 
    95 
    96     public: // CenRep callbacks
    96     public: // CenRep callbacks
    97         static TInt LayoutCallBack(TAny* aPtr);
    97         static TInt LayoutCallBackL(TAny* aPtr);
    98         static TInt SkinsRepositoryCallBack(TAny* aPtr);
    98         static TInt SkinsRepositoryCallBackL(TAny* aPtr);
    99         static TInt DRMRepositoryCallBack(TAny* aPtr);
    99         static TInt DRMRepositoryCallBackL(TAny* aPtr);
   100         static TInt LayoutSwitchCallBack(TAny* aPtr);
   100         static TInt LayoutSwitchCallBack(TAny* aPtr);
   101         static TInt USBCallBack(TAny* aPtr);
   101         static TInt USBCallBackL(TAny* aPtr);
   102         static TInt ThemesRepositoryCallBack(TAny* aPtr);
   102         static TInt ThemesRepositoryCallBackL(TAny* aPtr);
   103         // Callback for screensaver state changes.
   103         // Callback for screensaver state changes.
   104         static TInt SSCallBack( TAny* aPtr );
   104         static TInt SSCallBackL( TAny* aPtr );
   105 
   105 
   106     public: // From MBackupOperationObserver
   106     public: // From MBackupOperationObserver
   107         void HandleBackupOperationEventL(
   107         void HandleBackupOperationEventL(
   108             const TBackupOperationAttributes& aBackupOperationAttributes);
   108             const TBackupOperationAttributes& aBackupOperationAttributes);
   109 
   109 
   169 
   169 
   170         // Get a reference to drive master.
   170         // Get a reference to drive master.
   171         CAknsSrvDriveMaster* GetDriveMaster();
   171         CAknsSrvDriveMaster* GetDriveMaster();
   172 
   172 
   173     protected: // New methods
   173     protected: // New methods
   174         void HandlePropertyChange( const TAknsSrvSettingsProperty aProperty );
   174         void HandlePropertyChangeL( const TAknsSrvSettingsProperty aProperty );
   175 
   175 
   176     private:
   176     private:
   177 
   177 
   178         /**
   178         /**
   179         * Reads default skin ID from repository and sets it to iDefaultSkinPID.
   179         * Reads default skin ID from repository and sets it to iDefaultSkinPID.