phoneapp/phonemediatorcenter/inc/cphonemediatorsender.h
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
child 62 5266b1f337bd
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    87          * Sends event to the Mediator.
    87          * Sends event to the Mediator.
    88          * @param aCommandId - command to be sent as an event
    88          * @param aCommandId - command to be sent as an event
    89          * @param aCommandParam - Reference to command parameter
    89          * @param aCommandParam - Reference to command parameter
    90          */
    90          */
    91         IMPORT_C void SendEvent( const TPhoneViewCommandId aCommandId, 
    91         IMPORT_C void SendEvent( const TPhoneViewCommandId aCommandId, 
    92         	TPhoneCommandParam& aCommandParam );
    92             TPhoneCommandParam& aCommandParam );
    93 
    93 
    94         /**
    94         /**
    95          * Sends event to the Mediator.
    95          * Sends event to the Mediator.
    96          * @param aCommandId - command to be sent as an event
    96          * @param aCommandId - command to be sent as an event
    97          * @param aCallId - command's call id
    97          * @param aCallId - command's call id
    98          * @param aCommandParam - Reference to command parameter
    98          * @param aCommandParam - Reference to command parameter
    99          */
    99          */
   100         IMPORT_C void SendEvent( const TPhoneViewCommandId aCommandId, 
   100         IMPORT_C void SendEvent( const TPhoneViewCommandId aCommandId, 
   101         	const TInt aCallId, 
   101             const TInt aCallId, 
   102         	TPhoneCommandParam& aCommandParam ) const;
   102             TPhoneCommandParam& aCommandParam ) const;
   103 
   103 
   104         /**
   104         /**
   105          * Sends event to the Mediator.
   105          * Sends event to the Mediator.
   106          * @param aCommandId - command to be sent as an event
   106          * @param aCommandId - command to be sent as an event
   107          * @param aCallId - command's call id
   107          * @param aCallId - command's call id
   108          * @param aCommandParam - Pointer to TDesC16
   108          * @param aCommandParam - Pointer to TDesC16
   109          */
   109          */
   110         IMPORT_C void SendEvent( const TPhoneViewCommandId aCommandId, 
   110         IMPORT_C void SendEvent( const TPhoneViewCommandId aCommandId, 
   111         	const TInt aCallId, 
   111             const TInt aCallId, 
   112         	const TDesC* aMessage ) const;
   112             const TDesC* aMessage ) const;
   113 
   113 
   114         /**
   114         /**
   115         * Issue a Mediator Service command.
   115         * Issue a Mediator Service command.
   116         * 
   116         * 
   117         * @param aDomain    The identifier of the domain     
   117         * @param aDomain    The identifier of the domain     
   191         */
   191         */
   192         void ResetCommandBuffer();
   192         void ResetCommandBuffer();
   193                 
   193                 
   194         
   194         
   195     private:
   195     private:
   196     	
   196         
   197     	/**
   197         /**
   198     	 * Interface for sending events to Mediator
   198          * Interface for sending events to Mediator
   199     	 */
   199          */
   200         CMediatorEventProvider* iEventSender;
   200         CMediatorEventProvider* iEventSender;
   201         
   201         
   202         /**
   202         /**
   203          * List of events - used for registering events we provide
   203          * List of events - used for registering events we provide
   204          */
   204          */
   207         /**
   207         /**
   208         * List of generic events - used for registering events we provide
   208         * List of generic events - used for registering events we provide
   209         */
   209         */
   210         MediatorService::REventList iGenericEvents;
   210         MediatorService::REventList iGenericEvents;
   211 
   211 
   212 		/**
   212         /**
   213 		* Interface for sending commands to Mediator
   213         * Interface for sending commands to Mediator
   214 		*/        
   214         */        
   215         CMediatorCommandInitiator* iCommandInitiator;
   215         CMediatorCommandInitiator* iCommandInitiator;
   216    	
   216     
   217     	/**
   217         /**
   218     	* Buffer for re-sending command after received Mediator response
   218         * Buffer for re-sending command after received Mediator response
   219     	*/
   219         */
   220     	TPhoneCommandBuffer iCommandBuffer;
   220         TPhoneCommandBuffer iCommandBuffer;
   221 
   221 
   222         /**
   222         /**
   223         * Pointer for executing command related to Video Telephony shutdown.
   223         * Pointer for executing command related to Video Telephony shutdown.
   224         */
   224         */
   225         MPhoneShutdownCommand* iShutdownCommand;
   225         MPhoneShutdownCommand* iShutdownCommand;