securitydialogs/Autolock/src/Autolock.h
changeset 56 25a3fbb5e4d3
parent 45 5d3e34b7618a
child 61 1cc4c46c2963
equal deleted inserted replaced
51:f479c7dc25d6 56:25a3fbb5e4d3
    76 	};
    76 	};
    77 
    77 
    78 class QTimer;
    78 class QTimer;
    79 
    79 
    80 class AutolockService;
    80 class AutolockService;
    81 class CPowerSaveDisplayMode;
    81 // handled now directly but screensaver
       
    82 // class CPowerSaveDisplayMode;
    82 
    83 
    83 class Autolock : public QWidget
    84 class Autolock : public QWidget
    84 {
    85 {
    85     Q_OBJECT
    86     Q_OBJECT
    86 
    87 
    94     void DebugRequest(int value);
    95     void DebugRequest(int value);
    95     void DebugError(int value);
    96     void DebugError(int value);
    96     void DebugStatus(int value);
    97     void DebugStatus(int value);
    97     void adjustInactivityTimers(int aReason);
    98     void adjustInactivityTimers(int aReason);
    98     int updateIndicator(int aReason);
    99     int updateIndicator(int aReason);
       
   100     int TurnLights(int aMode, int aReason, int aCaller);
    99     int AskValidSecCode(int aReason);
   101     int AskValidSecCode(int aReason);
   100     int publishStatus(int aReason);
   102     int publishStatus(int aReason);
   101     int TryChangeStatus(int aReason);
   103     int TryChangeStatus(int aReason);
   102     int setLockDialog(int aReason, int status);
   104     int setLockDialog(int aReason, int status);
   103     int showNoteIfRequested(int aReason);
   105     int showNoteIfRequested(int aReason);
   167     TInt32 mEKeyBellCaptureHandle;
   169     TInt32 mEKeyBellCaptureHandle;
   168     TInt32 mEKeyYesCaptureHandle;
   170     TInt32 mEKeyYesCaptureHandle;
   169     TInt32 mEKeyNoCaptureHandle;
   171     TInt32 mEKeyNoCaptureHandle;
   170     TBool iLockCodeQueryInDisplay;
   172     TBool iLockCodeQueryInDisplay;
   171     QTimer *mScreensaverModeTimer;
   173     QTimer *mScreensaverModeTimer;
   172     CPowerSaveDisplayMode *mScreensaverPowerSave;
   174     // these two are handled now directly by screensaver
   173     HBufC16 *mScreensaverPowerSavePixelBuffer;
   175     // CPowerSaveDisplayMode *mScreensaverPowerSave;
       
   176     // HBufC16 *mScreensaverPowerSavePixelBuffer;
   174     TInt32 iProcessingEvent;
   177     TInt32 iProcessingEvent;
       
   178 		int iTempDisableOnlyKeyguardBecauseIncomingCall;
   175 };
   179 };
   176 
   180 
   177 class AutolockService : public XQServiceProvider
   181 class AutolockService : public XQServiceProvider
   178 {
   182 {
   179     Q_OBJECT
   183     Q_OBJECT