khronosfws/openmax_al/src/common/xaconfigextensionsitf.h
changeset 55 e267340986c9
parent 52 4ce423f34688
equal deleted inserted replaced
52:4ce423f34688 55:e267340986c9
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef XACONFIGEXTENSIONSITF_H
       
    19 #define XACONFIGEXTENSIONSITF_H
       
    20 
       
    21 #include "xaadptbasectx.h"
       
    22 
       
    23 /** MACROS **/
       
    24 
       
    25 /** TYPES **/
       
    26 
       
    27 /** ENUMERATIONS **/
       
    28 
       
    29 /** STRUCTURES **/
       
    30 /* Definition of XAConfigExtensionsItf implementation */
       
    31 typedef struct XAConfigExtensionsItfImpl_
       
    32 {
       
    33     /* parent interface */
       
    34     struct XAConfigExtensionsItf_ itf;
       
    35     /* pointer to self */
       
    36     struct XAConfigExtensionsItfImpl_* self;
       
    37     /* variables */
       
    38     XAuint8 testbufferconf;
       
    39    
       
    40     /*Adaptation variables*/
       
    41     XAAdaptationBaseCtx *ctx;
       
    42   
       
    43 } XAConfigExtensionsItfImpl;
       
    44 
       
    45 /* Base interface XAConfigExtensionsItf implementation */
       
    46 XAresult XAConfigExtensionsItfImpl_SetConfiguration(
       
    47                             XAConfigExtensionsItf self,
       
    48                             const XAchar* configKey,
       
    49                             XAuint32 valueSize,
       
    50                             const void* pConfigValue);
       
    51 
       
    52 XAresult XAConfigExtensionsItfImpl_GetConfiguration(
       
    53                             XAConfigExtensionsItf self,
       
    54                             const XAchar* configKey,
       
    55                             XAuint32* pValueSize,
       
    56                             void* pConfigValue);
       
    57 
       
    58 XAresult XAConfigExtensionsItfImpl_SetContext(XAConfigExtensionsItfImpl* self,XAAdaptationBaseCtx* ctx);
       
    59 
       
    60 /* XAConfigExtensionsItfImpl -specific methods */
       
    61 XAConfigExtensionsItfImpl* XAConfigExtensionsItfImpl_Create(void);
       
    62 void XAConfigExtensionsItfImpl_Free(XAConfigExtensionsItfImpl* self);
       
    63 
       
    64 #endif /* XACONFIGEXTENSIONSITF_H */