phonecmdhandler/phonecmdhnlr/inc/PhoneHandlerResponse.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
    18 
    18 
    19 #ifndef CPHONEHANDLERRESPONSE_H
    19 #ifndef CPHONEHANDLERRESPONSE_H
    20 #define CPHONEHANDLERRESPONSE_H
    20 #define CPHONEHANDLERRESPONSE_H
    21 
    21 
    22 //  INCLUDES
    22 //  INCLUDES
    23 #include "phonehandlerservice.h" 
    23 #include "PhoneHandlerService.h"
    24 #include "phonehandlerobserver.h" 
    24 #include "PhoneHandlerObserver.h"
    25 #include <RemConExtensionApi.h> 
    25 #include <RemConExtensionApi.h>
    26 
    26 
    27 // CONSTANTS
    27 // CONSTANTS
    28 
    28 
    29 // MACROS
    29 // MACROS
    30 
    30 
    43 *
    43 *
    44 *  @lib PhoneCmdHandler
    44 *  @lib PhoneCmdHandler
    45 *  @since S60 3.1
    45 *  @since S60 3.1
    46 */
    46 */
    47 NONSHARABLE_CLASS( CPhoneHandlerResponse ) : public CBase,
    47 NONSHARABLE_CLASS( CPhoneHandlerResponse ) : public CBase,
    48                                              public MPhoneHandlerService,
    48 											 public MPhoneHandlerService,
    49                                              public MPhoneHandlerObserver
    49 											 public MPhoneHandlerObserver
    50                                                
    50 											   
    51     {
    51     {
    52     public:  // Constructors and destructor
    52     public:  // Constructors and destructor
    53         
    53         
    54         /**
    54         /**
    55         * Two-phased constructor.
    55         * Two-phased constructor.
    61         */
    61         */
    62         virtual ~CPhoneHandlerResponse();
    62         virtual ~CPhoneHandlerResponse();
    63 
    63 
    64     public: // New functions
    64     public: // New functions
    65     
    65     
    66         /**
    66     	/**
    67         * Sets response message. This method has to be called before Process() 
    67         * Sets response message. This method has to be called before Process() 
    68         * is called.
    68         * is called.
    69         * @since S60 3.1
    69         * @since S60 3.1
    70         * @param aOperation operation to which response is sent
    70         * @param aOperation operation to which response is sent
    71         * @param aError Symbian OS error code
    71         * @param aError Symbian OS error code
    72         * @return void
    72         * @return void
    73         */
    73         */
    74         void SetResponse( TRemConExtCallHandlingApiOperationId aOperation, 
    74         void SetResponse( TRemConExtCallHandlingApiOperationId aOperation, 
    75                           TInt aError );
    75     					  TInt aError );
    76                 
    76 	            
    77     public: // Functions from base classes
    77     public: // Functions from base classes
    78         
    78         
    79         /**
    79         /**
    80         * From MPhoneHandlerService. Sends response to RemCon FW.
    80         * From MPhoneHandlerService. Sends response to RemCon FW.
    81         * @since S60 3.1
    81         * @since S60 3.1