mmmw_plat/voip_audio_services_api/inc/voipg711encoderintfc.h
changeset 0 71ca22bcf22a
child 3 4f62049db6ac
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mmmw_plat/voip_audio_services_api/inc/voipg711encoderintfc.h	Tue Feb 02 01:08:46 2010 +0200
@@ -0,0 +1,95 @@
+/*
+* Copyright (c) 2008 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:  Defines APIs specific to G.711 encoder.
+*
+*/
+
+
+#ifndef __VOIPG711ENCFORMATINTFC_H
+#define __VOIPG711ENCFORMATINTFC_H
+
+#include <voipaudiocommon.h>
+#include <voipformatintfc.h>
+
+
+// FORWARD DECLARATIONS
+class CVoIPG711EncoderIntfcImpl;
+
+
+/**
+ *  CVoIPG711EncoderIntfc class
+ *
+ *  G.711 encoder configuration class
+ *
+ *  @lib VoIPAudioIntfc.dll
+ *  @since S60 v5.0
+ */
+class CVoIPG711EncoderIntfc : public CVoIPFormatIntfc
+    {
+public:
+    /**
+     * Destructor
+     *
+     * @since S60 v5.0
+     * @param none
+     * @return none
+     */
+    IMPORT_C virtual ~CVoIPG711EncoderIntfc();
+
+    /**
+     * ?description
+     *
+     * @since S60 v5.0
+     * @param TG711CodecMode
+     * @return TInt
+     */
+    IMPORT_C TInt SetMode(TG711CodecMode aMode);
+
+    /**
+     * ?description
+     *
+     * @since S60 v5.0
+     * @param TG711CodecMode&
+     * @return TInt
+     */
+    IMPORT_C TInt GetMode(TG711CodecMode& aMode);
+
+protected:
+    /**
+     * Constructor
+     *
+     * @since S60 v5.0
+     * @param none
+     * @return none
+     */
+    CVoIPG711EncoderIntfc();
+
+    /**
+     * 2-nd phase constructor
+     *
+     * @since S60 v5.0
+     * @param CVoIPG711EncoderIntfcImpl*
+     * @return void
+     */
+    void ConstructL(CVoIPG711EncoderIntfcImpl* aFormatIntfcImpl);
+
+protected:
+    CVoIPG711EncoderIntfcImpl* iFormatIntfcImpl;
+
+    };
+
+
+#endif //__VOIPG711ENCFORMATINTFC_H
+
+// End of file