mmapitest/devsoundexthaitest/inc/T_CG711DecoderIntfcData.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 22:02:55 +0300
changeset 51 613e4e943120
parent 33 0267baa9dea9
permissions -rw-r--r--
Revision: 201035 Kit: 201035

/*
* Copyright (c) 2005-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: 
*
*/



#ifndef G711HWDDEVICE
#define G711HWDDEVICE

//User includes
#include "datawrapperbase.h"

//Epoc includes
#include <g711decoderintfc.h>//CG711DecoderIntfc
#include <g711encoderintfc.h>//CG711EncoderIntfc



class CT_CG711DecoderIntfcData : public CDataWrapperBase
    {
    protected:
    	void DestroyData();
    	void DoCmdNewL();
    	void DoCmdDestructor();
        void DoCmdSet(const TTEFSectionName& aSection);

    public: 
     	~CT_CG711DecoderIntfcData();
	     static	CT_CG711DecoderIntfcData* NewL();
         virtual TAny* GetObject();
	     virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
	     CT_CG711DecoderIntfcData();

        void DoCmdSetDecoderMode(const TTEFSectionName& aSection);
		void DoCmdSetCng(const TTEFSectionName& aSection);
            
    private: 
	    /**
	     * Decoder for G711
	     */
	    CG711DecoderIntfc* iG711Decoder;   
        /**
         * TBool for SetCng
         */
        TBool iCng;                           
    };


#endif /*G711HWDDEVICE*/