mmserv/tms/tmsimpl/inc/tmsdtmfbodyimpl.h
changeset 33 5e8b14bae8c3
parent 20 b67dd1fc57c5
equal deleted inserted replaced
28:ebf79c79991a 33:5e8b14bae8c3
    31 
    31 
    32 // TMSDTMFBodyImpl class
    32 // TMSDTMFBodyImpl class
    33 class TMSDTMFBodyImpl : public TMSDTMFBody
    33 class TMSDTMFBodyImpl : public TMSDTMFBody
    34     {
    34     {
    35 public:
    35 public:
    36     static gint Create(TMSStreamType streamtype, TMSDTMFBody*& bodyimpl);
    36     static gint Create(TMSStreamType streamtype, TMSDTMF& parent,
       
    37             TMSDTMFBody*& bodyimpl);
    37     virtual ~TMSDTMFBodyImpl();
    38     virtual ~TMSDTMFBodyImpl();
    38 
    39 
    39     // From TMSDTMFBody begins
    40     // From TMSDTMFBody
    40     virtual gint AddObserver(TMSDTMFObserver& obsrvr, gpointer user_data);
    41     virtual gint AddObserver(TMSDTMFObserver& obsrvr, gpointer user_data);
    41     virtual gint RemoveObserver(TMSDTMFObserver& obsrvr);
    42     virtual gint RemoveObserver(TMSDTMFObserver& obsrvr);
    42     virtual gint Start();
    43     virtual gint Start();
    43     virtual gint Stop();
    44     virtual gint Stop();
    44     virtual gint SetTone(GString* string);
    45     virtual gint SetTone(GString* string);
    45     virtual gint ContinueDTMFStringSending(gboolean sending);
    46     virtual gint ContinueDTMFStringSending(gboolean sending);
    46 
    47 
    47     void SetParent(TMSDTMF*& parent);
       
    48 
       
    49 private:
    48 private:
    50     TMSDTMFBodyImpl();
    49     TMSDTMFBodyImpl();
    51     gint PostConstruct();
    50     gint PostConstruct(TMSStreamType stype, TMSDTMF& parent);
    52 
    51 
    53 private:
    52 private:
    54     TMSDTMFObserver* iObserver;
    53     TMSDTMFObserver* iObserver;
    55     gint iClientId;
    54     gint iClientId;
    56     gpointer iUserData;
    55     gpointer iUserData;