mmmw_plat/telephony_multimedia_service_api/inc/tmssource.h
changeset 0 71ca22bcf22a
child 16 43d09473c595
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mmmw_plat/telephony_multimedia_service_api/inc/tmssource.h	Tue Feb 02 01:08:46 2010 +0200
@@ -0,0 +1,69 @@
+/*
+ * 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_SOURCE_H
+#define TMS_SOURCE_H
+
+#include <tms.h>
+
+namespace TMS {
+
+/**
+ * TMSSource class
+ *
+ * Base class for TMS data source type objects.
+ *
+ * @lib tmsapi.lib
+ *
+ */
+class TMSSource
+    {
+public:
+    /**
+     * Returns type of the concrete data source object implementation.
+     *
+     * This function can be called at any time.
+     *
+     * @param  sourcetype
+     *      Contains data source type on return.
+     *
+     * @return
+     *      TMS_RESULT_SUCCESS if source type is returned successfully.
+     *
+     */
+    virtual gint GetType(TMSSourceType& sourcetype) = 0;
+    };
+
+/*class TMSDeviceMic:public TMSSource
+    {
+public:
+    virtual gint GetType(TMSSourceType& sourcetype){return iSourceType};
+private:
+    TMSSourceType iSourceType;
+    };*/
+
+/*class TMSModem:public TMSSource
+    {
+public:
+    virtual gint GetType(TMSSourceType& sourcetype){return iSourceType};
+private:
+    TMSSourceType iSourceType;
+    };*/
+
+} //namespace TMS
+
+#endif //TMS_SOURCE_H