mmserv/tms/tmscallserver/inc/tmscsdevsoundobserver.h
branchRCL_3
changeset 17 60e492b28869
parent 11 3570217d8c21
equal deleted inserted replaced
15:ab526b8cacfb 17:60e492b28869
    19 #define TMSCSDEVSOUNDOBSERVER_H
    19 #define TMSCSDEVSOUNDOBSERVER_H
    20 
    20 
    21 namespace TMS {
    21 namespace TMS {
    22 
    22 
    23 /**
    23 /**
    24  *  Observer interface for knowing when audio streams have been
    24  *  TMSCSDevSoundObserver
    25  *  successfully ramped up.
    25   * An observer interface providing TMSCSDevSound event notifications.
    26  *
       
    27  */
    26  */
    28 class TMSCSPDevSoundObserver
    27 class TMSCSDevSoundObserver
    29     {
    28     {
    30 public:
    29 public:
    31     virtual void DownlinkInitCompleted(TInt status) = 0;
    30     virtual void DownlinkInitCompleted(gint status) = 0;
    32     virtual void UplinkInitCompleted(TInt status) = 0;
    31     virtual void UplinkInitCompleted(gint status) = 0;
    33 
    32     virtual void UplinkActivationCompleted(gint status) = 0;
    34     /**
    33     virtual void DownlinkActivationCompleted(gint status) = 0;
    35      * Notification that Mic has been activated successfully
       
    36      *
       
    37      */
       
    38     virtual void UplinkActivatedSuccessfully() = 0;
       
    39 
       
    40     /**
       
    41      * Notification that speaker has been activated successfully
       
    42      *
       
    43      */
       
    44     virtual void DownlinkActivatedSuccessfully() = 0;
       
    45 
       
    46     /**
       
    47      * Notification that Mic initialisation failed.
       
    48      *
       
    49      */
       
    50     virtual void UplinkActivationFailed() = 0;
       
    51 
       
    52     /**
       
    53      * Notification that Speaker activation failed.
       
    54      *
       
    55      */
       
    56     virtual void DownlinkActivationFailed() = 0;
       
    57     };
    34     };
    58 
    35 
    59 } //namespace TMS
    36 } //namespace TMS
    60 
    37 
    61 #endif // TMSCSDEVSOUNDOBSERVER_H
    38 #endif // TMSCSDEVSOUNDOBSERVER_H