mmmw_plat/telephony_multimedia_service_api/inc/tmsinbandtoneobsrvr.h
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 20 b67dd1fc57c5
equal deleted inserted replaced
12:5a06f39ad45b 14:80975da52420
     9  * Initial Contributors:
     9  * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11  *
    11  *
    12  * Contributors:
    12  * Contributors:
    13  *
    13  *
    14  * Description: Telephony Multimedia Service
    14  * Description: This class provides callback mechanism for TMSInbandTone
       
    15  * listeners.
    15  *
    16  *
    16  */
    17  */
    17 
    18 
    18 #ifndef TMS_INBAND_OBSRVR_H
    19 #ifndef TMS_INBAND_OBSRVR_H
    19 #define TMS_INBAND_OBSRVR_H
    20 #define TMS_INBAND_OBSRVR_H
    42  * the event in asynchronous way.
    43  * the event in asynchronous way.
    43  *
    44  *
    44  * @lib tmsapi.lib
    45  * @lib tmsapi.lib
    45  *
    46  *
    46  */
    47  */
       
    48 
    47 class TMSInbandToneObserver
    49 class TMSInbandToneObserver
    48     {
    50     {
    49 public:
    51 public:
    50     /**
    52     /**
    51      * Notified events:
    53      * Notified events:
    52      *  TMS_EVENT_INBAND_TONE_STARTED
    54      *  TMS_EVENT_INBAND_TONE_STARTED
    53      *  TMS_EVENT_INBAND_TONE_STOPPED
    55      *  TMS_EVENT_INBAND_TONE_STOPPED
    54 
    56 
    55      * @param  inbandtone
    57      * @param  inbandtone
    56      *      Pointer to the object that is being signaled.
    58      *      Reference to the object that is being signaled.
    57      *
    59      *
    58      * @param  event
    60      * @param  event
    59      *      Event descriptor.
    61      *      Event descriptor.
    60      */
    62      */
    61     virtual void InbandToneEvent(TMSInbandTone* inbandtone, TMSSignalEvent event) = 0;
    63     virtual void InbandToneEvent(const TMSInbandTone& inbandtone,
       
    64             TMSSignalEvent event) = 0;
    62     };
    65     };
    63 
    66 
    64 } //namespace TMS
    67 } //namespace TMS
    65 
    68 
    66 #endif // TMS_INBAND_OBSRVR_H
    69 #endif // TMS_INBAND_OBSRVR_H