mmserv/tms/tmsimpl/inc/tmsformatbodyimpl.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 15:29:42 +0300
changeset 12 5a06f39ad45b
parent 0 71ca22bcf22a
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
 * 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:
    virtual ~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