--- a/mmserv/tms/tmsimpl/inc/tmsdtmfbodyimpl.h Fri Jun 25 17:36:03 2010 -0500
+++ b/mmserv/tms/tmsimpl/inc/tmsdtmfbodyimpl.h Fri Jul 09 16:43:35 2010 -0500
@@ -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;