phoneapp/phoneuicontrol/inc/cphonestate.h
changeset 78 baacf668fe89
parent 76 cfea66083b62
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
   247         IMPORT_C void DecreaseAudioVolumeL();
   247         IMPORT_C void DecreaseAudioVolumeL();
   248 
   248 
   249         /**
   249         /**
   250         * Dial CS multimedia call
   250         * Dial CS multimedia call
   251         */
   251         */
   252         IMPORT_C void DialMultimediaCallL();
   252         IMPORT_C void DialMultimediaCall();
   253 
   253 
   254         /**
   254         /**
   255         * Disconnect call
   255         * Disconnect call
   256         */
   256         */
   257         IMPORT_C TBool DisconnectCallL();
   257         IMPORT_C TBool DisconnectCallL();
   436          IMPORT_C void UpdateUiCommands();
   436          IMPORT_C void UpdateUiCommands();
   437          
   437          
   438     protected:
   438     protected:
   439 
   439 
   440        /**
   440        /**
   441        * Checks if call is waiting, returns ETrue if call is waiting
       
   442        * otherwise EFalse.
       
   443        * @param aCallId, call id.
       
   444        */
       
   445        TBool IsWaitingCallL( const TInt aCallId );
       
   446 
       
   447        /**
       
   448        * Checks status of KFeatureIdSideVolumeKeys and KTelephonyLVFlagScrollVolumeKeys
   441        * Checks status of KFeatureIdSideVolumeKeys and KTelephonyLVFlagScrollVolumeKeys
   449        * keys. If KTelephonyLVFlagScrollVolumeKeys is false and KFeatureIdSideVolumeKeys is true
   442        * keys. If KTelephonyLVFlagScrollVolumeKeys is false and KFeatureIdSideVolumeKeys is true
   450        * then side volume keys are only supported and method returns true, otherwise false.
   443        * then side volume keys are only supported and method returns true, otherwise false.
   451        */
   444        */
   452        TBool OnlySideVolumeKeySupported();
   445        TBool OnlySideVolumeKeySupported();
   453 
   446 
   454        /**
       
   455        * Checks if device has connected call ongoing.
       
   456        * List of connected call states: EPEStateConnected
       
   457        *                                EPEStateConnectedConference
       
   458        *                                EPEStateConnecting
       
   459        */
       
   460        TBool IsAnyConnectedCalls();
       
   461 
       
   462     private:
   447     private:
   463 
   448 
   464         /**
   449         /**
   465         * Handle EPEMessageChangedCallDuration
   450         * Handle EPEMessageChangedCallDuration
   466         * @param aCallId call id of the message
   451         * @param aCallId call id of the message
   572         CPhoneUiCommandManager* iUiCommandManager;
   557         CPhoneUiCommandManager* iUiCommandManager;
   573         
   558         
   574         // Number entry manager
   559         // Number entry manager
   575         CPhoneNumberEntryManager* iNumberEntryManager;
   560         CPhoneNumberEntryManager* iNumberEntryManager;
   576 
   561 
   577 
       
   578     private:
       
   579 
       
   580         // Previously handled SIM card state.
       
   581         TPESimState iPreviousSimState;
       
   582 
       
   583         // Internal variable for EikonEnv to avoid
   562         // Internal variable for EikonEnv to avoid
   584         // use of static system calls
   563         // use of static system calls
   585         CEikonEnv* iEnv; // Not owned
   564         CEikonEnv* iEnv; // Not owned
       
   565 
       
   566     private:
       
   567 
       
   568         // Previously handled SIM card state.
       
   569         TPESimState iPreviousSimState;
       
   570 
   586         };
   571         };
   587 
   572 
   588 #endif // CPHONESTATE_H
   573 #endif // CPHONESTATE_H
   589 
   574 
   590 // End of File
   575 // End of File