khronosfws/openmax_al/src/common/xadynamicsourceitf.h
branchRCL_3
changeset 20 0ac9a5310753
parent 19 095bea5f582e
child 21 999b2818a0eb
equal deleted inserted replaced
19:095bea5f582e 20:0ac9a5310753
     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: Dynamic Source Interface Implementation Header
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef XADYNAMICSOURCEITF_H
       
    19 #define XADYNAMICSOURCEITF_H
       
    20 
       
    21 #include "xaadptbasectx.h"
       
    22 
       
    23 /** MACROS **/
       
    24 
       
    25 /** TYPES **/
       
    26 
       
    27 /** ENUMERATIONS **/
       
    28 
       
    29 /** STRUCTURES **/
       
    30 /* Definition of XADynamicSourceItf implementation */
       
    31 typedef struct XADynamicSourceItfImpl_
       
    32     {
       
    33     /* parent interface */
       
    34     struct XADynamicSourceItf_ itf;
       
    35     /* pointer to self */
       
    36     struct XADynamicSourceItfImpl_* self;
       
    37     /* variables */
       
    38     XAAdaptationBaseCtx *adaptCtx;
       
    39 
       
    40     } XADynamicSourceItfImpl;
       
    41 
       
    42 /** METHODS **/
       
    43 
       
    44 /* Base interface XADynamicSourceItf implementation
       
    45  * See API Specification for method documentation
       
    46  */
       
    47 XAresult XADynamicSourceItfImpl_SetSource(XADynamicSourceItf self,
       
    48         XADataSource *pDataSource);
       
    49 
       
    50 /* XADynamicSourceItfImpl -specific methods */
       
    51 XADynamicSourceItfImpl* XADynamicSourceItfImpl_Create(
       
    52         XAAdaptationBaseCtx *adaptCtx);
       
    53 void XADynamicSourceItfImpl_Free(XADynamicSourceItfImpl* self);
       
    54 
       
    55 #endif /* XADYNAMICSOURCEITF_H */