mmserv/tms/tmsimpl/inc/tmsformatbodyimpl.h
changeset 0 71ca22bcf22a
child 7 3d8c721bf319
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mmserv/tms/tmsimpl/inc/tmsformatbodyimpl.h	Tue Feb 02 01:08:46 2010 +0200
@@ -0,0 +1,56 @@
+/*
+ * 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_FORMAT_BODY_IMPL_H
+#define TMS_FORMAT_BODY_IMPL_H
+
+#include <tms.h>
+#include "tmsformatbody.h"
+#include "tmsqueuehandler.h"
+
+namespace TMS {
+
+// FORWARD DECLARATIONS
+class TMSFormatObserver;
+class TMSCallProxy;
+
+// TMSFormatBodyImpl class
+class TMSFormatBodyImpl : public TMSFormatBody
+    {
+public:
+    ~TMSFormatBodyImpl();
+
+    gint GetSupportedBitRates(BitRateVector& aVector);
+    gint SetBitRate(const guint aBitrate);
+    gint GetBitRate(guint& aBitrate);
+    gint GetType(TMSFormatType& fmttype);
+
+    virtual void SetProxy(TMSCallProxy* aProxy, gpointer queuehandler);
+
+protected:
+    TMSFormatBodyImpl();
+    gint PostConstruct(TMSFormatType formatType);
+
+private:
+    gpointer iUserData;
+    TMSCallProxy* iProxy;
+    TMSFormatType iFormatType;
+    };
+
+} //namespace TMS
+
+#endif //TMS_FORMAT_BODY_IMPL_H