diff -r c84cf270c54f -r 92ab7f8d0eab phoneuis/TelephonyDeviceMode/inc/CTelDMCommandHandler.h --- a/phoneuis/TelephonyDeviceMode/inc/CTelDMCommandHandler.h Tue Feb 02 00:10:04 2010 +0200 +++ b/phoneuis/TelephonyDeviceMode/inc/CTelDMCommandHandler.h Fri Mar 19 09:28:42 2010 +0200 @@ -23,7 +23,7 @@ #include #include -#include "MTelDMCallStateObserver.h" +#include "MTelDMCallStateObserver.h" // FORWARD DECLARATIONS @@ -40,7 +40,7 @@ * @since 3.1 */ NONSHARABLE_CLASS( CTelDMCommandHandler ): public CBase, - public MTelDMCallStateObserver + public MTelDMCallStateObserver { public: // constructor & destructor @@ -48,66 +48,66 @@ * Two phase constructor */ static CTelDMCommandHandler* NewL( MPhoneDeviceModeObserver& aCallHandler, - MTelDMAccessory& aAccessory ); + MTelDMAccessory& aAccessory ); // Destructor virtual ~CTelDMCommandHandler(); - public: - - enum TCommands - { - EGripOpen, - EGripClose - }; - - void HandleCommand( TCommands aCommand ); - - public: // from MTelDMCallStateObserver - - /** See MTelDMCallStateObserver.h */ - void CallStateChangedL( TInt aCallState ); - - + public: + + enum TCommands + { + EGripOpen, + EGripClose + }; + + void HandleCommand( TCommands aCommand ); + + public: // from MTelDMCallStateObserver + + /** See MTelDMCallStateObserver.h */ + void CallStateChangedL( TInt aCallState ); + + private: // Constructor /** c++ constructor */ CTelDMCommandHandler( MPhoneDeviceModeObserver& aCallHandler, - MTelDMAccessory& aAccessory ); + MTelDMAccessory& aAccessory ); /** 2nd phase constructor */ void ConstructL(); private: - /** - * Ends calls - */ - void EndCalls(); - - /** - * Offer key lock query. - */ - void OfferKeyLock(); - + /** + * Ends calls + */ + void EndCalls(); + + /** + * Offer key lock query. + */ + void OfferKeyLock(); + /** * Check emergency call * @return status of emergency call */ - TBool IsEmergencyCall() const; + TBool IsEmergencyCall() const; - /** + /** * Check soft reject * @return status of soft reject operation */ - TBool IsSoftRejectOngoing() const; + TBool IsSoftRejectOngoing() const; private: - // Reference to device mode observer - MPhoneDeviceModeObserver& iCallHandler; - - // Reference to accessory listene + // Reference to device mode observer + MPhoneDeviceModeObserver& iCallHandler; + + // Reference to accessory listene MTelDMAccessory& iAccessory; // For keypad locking.