phoneapp/phoneuicontrol/inc/cphonestate.h
branchRCL_3
changeset 15 2a26698d78ba
parent 14 24062c24fe38
child 25 91c2fb4b78df
equal deleted inserted replaced
14:24062c24fe38 15:2a26698d78ba
   168         * Indicates when the Idle app is in the foreground.
   168         * Indicates when the Idle app is in the foreground.
   169         */
   169         */
   170         IMPORT_C virtual void HandleIdleForegroundEventL();
   170         IMPORT_C virtual void HandleIdleForegroundEventL();
   171 
   171 
   172         /**
   172         /**
   173         * Indicates when the keylock events
       
   174         */
       
   175         IMPORT_C virtual void HandleKeyLockEnabled( TBool aKeylockEnabled );
       
   176         
       
   177         /**
       
   178         * Handle environment changes.
   173         * Handle environment changes.
   179         * @param aChanges environment changes which may be reported by
   174         * @param aChanges environment changes which may be reported by
   180         *  a change notifier through the RChangeNotifier interface.
   175         *  a change notifier through the RChangeNotifier interface.
   181         */
   176         */
   182         IMPORT_C void HandleEnvironmentChangeL( const TInt aChanges );
   177         IMPORT_C void HandleEnvironmentChangeL( const TInt aChanges );
   286         * @param aResourceId resource id to be resolved
   281         * @param aResourceId resource id to be resolved
   287         */
   282         */
   288         IMPORT_C void SendGlobalErrorNoteL( TInt aResourceId );
   283         IMPORT_C void SendGlobalErrorNoteL( TInt aResourceId );
   289 
   284 
   290         /**
   285         /**
   291          * Get blocked key list
       
   292          * @returns RArray<TInt>& lsit of blocked keys 
       
   293          */
       
   294         IMPORT_C const RArray<TInt>& GetBlockedKeyList() const;
       
   295 
       
   296         /**
       
   297          * Disable HW Keys if needed
       
   298          */
       
   299         IMPORT_C void DisableHWKeysL();
       
   300 
       
   301         /**
       
   302          * Disable Call UI
       
   303          */
       
   304         IMPORT_C void DisableCallUIL();
       
   305 
       
   306         /**
       
   307          * Enable Call UI
       
   308          */
       
   309         IMPORT_C void EnableCallUIL();
       
   310 
       
   311         /**
       
   312          * Disable HW Keys and Call UI if needed
       
   313          */
       
   314         IMPORT_C void CheckDisableHWKeysAndCallUIL();
       
   315 
       
   316         /**
       
   317          * Handle hold switch key event when there is an incoming or waiting call
       
   318          */
       
   319         IMPORT_C void HandleHoldSwitchL();
       
   320         
       
   321         /**
       
   322          * Enable HW Keys and Call UI if needed
       
   323          */
       
   324         IMPORT_C void CheckEnableHWKeysAndCallUIL();
       
   325         
       
   326         /**
       
   327         * Fetches autolock information - is it set on or not
   286         * Fetches autolock information - is it set on or not
   328         * @return is autolock set on (ETrue) or off (EFalse)
   287         * @return is autolock set on (ETrue) or off (EFalse)
   329         */
   288         */
   330         IMPORT_C TBool IsAutoLockOn() const;
   289         IMPORT_C TBool IsAutoLockOn() const;
   331 
   290 
   365         * UI shows note which will be closed by key event then
   324         * UI shows note which will be closed by key event then
   366         * method return ETrue otherwise EFalse.
   325         * method return ETrue otherwise EFalse.
   367         */
   326         */
   368         TBool IsNoteDismissableL();
   327         TBool IsNoteDismissableL();
   369 
   328 
   370         IMPORT_C void RetainPreviousKeylockStateL();
       
   371         
       
   372         /**
   329         /**
   373         * Check if possible dialer extension is in focus
   330         * Check if possible dialer extension is in focus
   374         * @return boolean value indicating if dialer extension is in focus
   331         * @return boolean value indicating if dialer extension is in focus
   375         */
   332         */
   376         IMPORT_C TBool IsDialingExtensionInFocusL() const;
   333         IMPORT_C TBool IsDialingExtensionInFocusL() const;