diff -r 594d59766373 -r 7d48bed6ce0c phonecmdhandler/phonecmdhnlr/inc/PhoneHandlerCallBase.h --- a/phonecmdhandler/phonecmdhnlr/inc/PhoneHandlerCallBase.h Thu Aug 19 10:28:14 2010 +0300 +++ b/phonecmdhandler/phonecmdhnlr/inc/PhoneHandlerCallBase.h Tue Aug 31 15:45:17 2010 +0300 @@ -20,10 +20,10 @@ #define CPHONEHANDLERCALLBASE // INCLUDES -#include "PhoneHandlerService.h" -#include "PhoneHandlerObserver.h" +#include "phonehandlerservice.h" +#include "phonehandlerobserver.h" #include -#include +#include // CONSTANTS @@ -46,8 +46,8 @@ * @since S60 3.1 */ NONSHARABLE_CLASS( CPhoneHandlerCallBase ) : public CBase, - public MPhoneHandlerService, - public MPhoneHandlerObserver + public MPhoneHandlerService, + public MPhoneHandlerObserver { protected: // Constructors and destructor @@ -65,7 +65,7 @@ public: // Functions from base classes - /** + /** * From MPhoneHandlerService. Starts to process an asynchronous request. * @since Series 60 3.1 * @param @@ -81,7 +81,7 @@ */ virtual void Delete() = 0; - /** + /** * From MPhoneHandlerObserver. Notifies when asynchronous request has * been completed. * @since S60 3.1 @@ -89,7 +89,7 @@ * @return void */ virtual void RequestCompleted( const TInt aError ) = 0; - + protected: // New functions /** @@ -107,31 +107,31 @@ * @return void */ void NextState(); - - /** + + /** * Called when service isn't running (e.g. when it's completed). * @since S60 3.1 * @param void * @return void */ - void IdleState(); - - /** + void IdleState(); + + /** * Returns an active object's TRequestStatus for asynchronous calls. * @since S60 3.1 * @param void * @return void */ - TRequestStatus& GetStatus(); - - /** + TRequestStatus& GetStatus(); + + /** * Activates an active object for asynchronous calls. * @since S60 3.1 * @param void * @return void */ - void Activate(); - + void Activate(); + protected: // Functions from base classes private: @@ -140,20 +140,20 @@ protected: // Data - // call handling service states + // call handling service states enum TPhoneHandlerServiceState - { - EPhoneHandlerStateIdle = 0, - EPhoneHandlerState1 = 1, - EPhoneHandlerState2 = 2, - EPhoneHandlerState3 = 3 - }; - - // stores service state - TPhoneHandlerServiceState iState; - - // pointer to API providing call handling services - CPhCltCommandHandler* iCommandHandler; // owned + { + EPhoneHandlerStateIdle = 0, + EPhoneHandlerState1 = 1, + EPhoneHandlerState2 = 2, + EPhoneHandlerState3 = 3 + }; + + // stores service state + TPhoneHandlerServiceState iState; + + // pointer to API providing call handling services + CPhCltCommandHandler* iCommandHandler; // owned private: // Data