--- a/mmserv/tms/tmsimpl/inc/tmsdtmfbodyimpl.h Tue Jul 06 14:50:35 2010 +0300
+++ b/mmserv/tms/tmsimpl/inc/tmsdtmfbodyimpl.h Wed Aug 18 10:17:22 2010 +0300
@@ -33,10 +33,11 @@
class TMSDTMFBodyImpl : public TMSDTMFBody
{
public:
- static gint Create(TMSStreamType streamtype, TMSDTMFBody*& bodyimpl);
+ static gint Create(TMSStreamType streamtype, TMSDTMF& parent,
+ TMSDTMFBody*& bodyimpl);
virtual ~TMSDTMFBodyImpl();
- // From TMSDTMFBody begins
+ // From TMSDTMFBody
virtual gint AddObserver(TMSDTMFObserver& obsrvr, gpointer user_data);
virtual gint RemoveObserver(TMSDTMFObserver& obsrvr);
virtual gint Start();
@@ -44,11 +45,9 @@
virtual gint SetTone(GString* string);
virtual gint ContinueDTMFStringSending(gboolean sending);
- void SetParent(TMSDTMF*& parent);
-
private:
TMSDTMFBodyImpl();
- gint PostConstruct();
+ gint PostConstruct(TMSStreamType stype, TMSDTMF& parent);
private:
TMSDTMFObserver* iObserver;