khronosfws/openmax_al/src/radio/xaradiodevice.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 15:29:42 +0300
changeset 12 5a06f39ad45b
child 16 43d09473c595
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: 
*
*/

#ifndef XARADIODEVICE_H
#define XARADIODEVICE_H

#include "openmaxalwrapper.h"
#include "xaobjectitf.h"
#include "xaglobals.h"
#ifdef _GSTREAMER_BACKEND_
#include "../adaptation/XARadioAdaptCtx.h"
#endif
/** MACROS **/


/** TYPES **/


/** ENUMERATIONS **/
/* Enumeration for interfaces that RadioDevice supports.  */
typedef enum
{
    RADIO_OBJECTITF,
    RADIO_RADIOITF,
    RADIO_CONFIGEXTENSIONITF,
    RADIO_DIMITF,
    RADIO_RDSITF,
    RADIO_ITFCOUNT
} XARadioDeviceInterfaces;

/** STRUCTURES **/
/* Specification for RadioDeviceImpl. */
typedef struct XARadioDeviceImpl_
{
    /* Parent for XARadioDeviceImpl */
    XAObjectItfImpl baseObj;

    /* variables */

#ifdef _GSTREAMER_BACKEND_
    XAAdaptationBaseCtx* adaptationCtx;
#endif
} XARadioDeviceImpl;


/** METHODS **/

/* base object XAObjectItfImpl methods */
XAresult    XARadioDeviceImpl_DoRealize(XAObjectItf self);
XAresult    XARadioDeviceImpl_DoResume(XAObjectItf self);
void        XARadioDeviceImpl_FreeResources(XAObjectItf self);

/* RadioDeviceImpl -specific methods */

#endif /* XARADIODEVICE_H */