mmserv/tms/inc/tmsdtmfbody.h
changeset 12 5a06f39ad45b
child 33 5e8b14bae8c3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mmserv/tms/inc/tmsdtmfbody.h	Fri Apr 16 15:29:42 2010 +0300
@@ -0,0 +1,44 @@
+/*
+ * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description: Telephony Multimedia Service
+ *
+ */
+
+#ifndef TMS_DTMF_BODY_H
+#define TMS_DTMF_BODY_H
+
+#include <tms.h>
+
+namespace TMS {
+
+// FORWARD DECLARATIONS
+class TMSDTMFObserver;
+
+// CLASS DECLARATION
+class TMSDTMFBody
+    {
+public:
+    virtual ~TMSDTMFBody() {}
+
+    virtual gint AddObserver(TMSDTMFObserver& obsrvr, gpointer user_data) = 0;
+    virtual gint RemoveObserver(TMSDTMFObserver& obsrvr) = 0;
+    virtual gint Start() = 0;
+    virtual gint Stop() = 0;
+    virtual gint SetTone(GString* string) = 0;
+    virtual gint ContinueDTMFStringSending(gboolean aContinue) = 0;
+    };
+
+} //namespace TMS
+
+#endif //TMS_GLOBAL_ROUTING_BODY_H