mmmw_plat/telephony_multimedia_service_api/inc/tmsstreamobsrvr.h
branchRCL_3
changeset 9 f5c5c82a163e
parent 0 71ca22bcf22a
equal deleted inserted replaced
8:03a293c97d5c 9:f5c5c82a163e
     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 TMSStream listeners.
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #ifndef TMS_STREAM_OBSRVR_H
    18 #ifndef TMS_STREAM_OBSRVR_H
    19 #define TMS_STREAM_OBSRVR_H
    19 #define TMS_STREAM_OBSRVR_H
    62      * This function is called when a stream event occurs.
    62      * This function is called when a stream event occurs.
    63      *      (1) TMS_EVENT_TYPE_STATE_CHANGED.
    63      *      (1) TMS_EVENT_TYPE_STATE_CHANGED.
    64      *
    64      *
    65      *
    65      *
    66      * @param  stream
    66      * @param  stream
    67      *      Pointer to the object that is being signaled.
    67      *      Reference to the object that is being signaled.
    68      *
    68      *
    69      * @param  event
    69      * @param  event
    70      *      Event descriptor.
    70      *      Event descriptor.
    71      *
    71      *
    72      */
    72      */
    73     virtual void TMSStreamEvent(TMSStream* stream, TMSSignalEvent event) = 0;
    73     virtual void TMSStreamEvent(const TMSStream& stream,
       
    74             TMSSignalEvent event) = 0;
    74     };
    75     };
    75 
    76 
    76 } //namespace TMS
    77 } //namespace TMS
    77 
    78 
    78 #endif // TMS_STREAM_OBSRVR_H
    79 #endif // TMS_STREAM_OBSRVR_H