qtms/inc/qtmsinbandtoneimpl.h
changeset 51 e61a04404bdf
parent 27 cbb1bfb7ebfb
equal deleted inserted replaced
44:d141fc1ad77b 51:e61a04404bdf
    21 #include <tmsinbandtoneobsrvr.h>
    21 #include <tmsinbandtoneobsrvr.h>
    22 #include <qtms.h>
    22 #include <qtms.h>
    23 #include <qtmsinbandtone.h>
    23 #include <qtmsinbandtone.h>
    24 
    24 
    25 // FORWARD DECLARATIONS
    25 // FORWARD DECLARATIONS
    26 namespace TMS {
    26 namespace TMS
       
    27 {
    27 class TMSInbandTone;
    28 class TMSInbandTone;
    28 }
    29 }
    29 
    30 
    30 namespace QTMS {
    31 namespace QTMS
       
    32 {
    31 
    33 
    32 // QTMSInbandImpl class
    34 // QTMSInbandImpl class
    33 class QTMSInbandToneImpl : public QTMSInbandTone,
    35 class QTMSInbandToneImpl: public QTMSInbandTone, public TMS::TMSInbandToneObserver
    34                            public TMS::TMSInbandToneObserver
    36 {
    35     {
       
    36 public:
    37 public:
    37     static gint Create(QTMSInbandTone*& qinband,
    38     static gint Create(QTMSInbandTone*& qinband, TMS::TMSInbandTone*& tmsinband);
    38             TMS::TMSInbandTone*& tmsinband);
       
    39     virtual ~QTMSInbandToneImpl();
    39     virtual ~QTMSInbandToneImpl();
    40 
    40 
    41     gint AddObserver(TMS::TMSInbandToneObserver& obsrvr, gpointer user_data);
    41     gint AddObserver(TMS::TMSInbandToneObserver& obsrvr, gpointer user_data);
    42     gint RemoveObserver(TMS::TMSInbandToneObserver& obsrvr);
    42     gint RemoveObserver(TMS::TMSInbandToneObserver& obsrvr);
    43 
    43 
    44     //from TMS::TMSInbandToneObserver
    44     //from TMS::TMSInbandToneObserver
    45     void InbandToneEvent(const TMS::TMSInbandTone& inbandtone,
    45     void InbandToneEvent(const TMS::TMSInbandTone& inbandtone, TMS::TMSSignalEvent event);
    46             TMS::TMSSignalEvent event);
       
    47 
    46 
    48 private:
    47 private:
    49     QTMSInbandToneImpl();
    48     QTMSInbandToneImpl();
    50     gint PostConstruct();
    49     gint PostConstruct();
    51     };
    50 };
    52 
    51 
    53 } //namespace QTMS
    52 } //namespace QTMS
    54 
    53 
    55 #endif // QTMS_DTMF_IMPL_H
    54 #endif // QTMS_DTMF_IMPL_H
    56 
       
    57 // End of file
    55 // End of file