diff -r ebf79c79991a -r 5e8b14bae8c3 mmserv/tms/tmscallserver/inc/tmscalladpt.h --- a/mmserv/tms/tmscallserver/inc/tmscalladpt.h Fri Jun 25 17:36:03 2010 -0500 +++ b/mmserv/tms/tmscallserver/inc/tmscalladpt.h Fri Jul 09 16:43:35 2010 -0500 @@ -26,6 +26,14 @@ // TMSCallAdpt class class TMSCallAdpt { +protected: + enum TMSStreamState + { + EIdle = 0, + EInitialized, + EActivated + }; + public: static gint CreateCallL(gint callType, TMSCallAdpt*& callAdpt); virtual ~TMSCallAdpt(); @@ -93,10 +101,8 @@ virtual gint GetPreviousOutput(TMSAudioOutput& output) = 0; virtual gint GetAvailableOutputsL(gint& count, CBufFlat*& outputsbuf) = 0; - // From TMSDTMF - virtual gint StartDTMF(const TMSStreamType streamtype, TDes& dtmfstr) = 0; - virtual gint StopDTMF(const TMSStreamType streamtype) = 0; - virtual gint ContinueDTMF(const gboolean sending) = 0; + void GetCallType(TMSCallType& callType); + gboolean IsUplActivated(); protected: TMSCallAdpt(); @@ -105,10 +111,12 @@ protected: gint iGlobalVol; gint iGlobalGain; + TMSStreamState iUplState; + TMSStreamState iDnlState; + gint iCallType; }; } //namespace TMS #endif // CALLADPT_H -// End of file