khronosfws/openmax_al/src/common/xadynamicsourceitf.h
changeset 25 6f7ceef7b1d1
parent 19 4a629bc82c5e
equal deleted inserted replaced
21:2ed61feeead6 25:6f7ceef7b1d1
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description: 
    14  * Description: Dynamic Source Interface Implementation Header
    15 *
    15  *
    16 */
    16  */
    17 
    17 
    18 #ifndef XADYNAMICSOURCEITF_H
    18 #ifndef XADYNAMICSOURCEITF_H
    19 #define XADYNAMICSOURCEITF_H
    19 #define XADYNAMICSOURCEITF_H
    20 
    20 
    21 #include "xaadptbasectx.h"
    21 #include "xaadptbasectx.h"
    27 /** ENUMERATIONS **/
    27 /** ENUMERATIONS **/
    28 
    28 
    29 /** STRUCTURES **/
    29 /** STRUCTURES **/
    30 /* Definition of XADynamicSourceItf implementation */
    30 /* Definition of XADynamicSourceItf implementation */
    31 typedef struct XADynamicSourceItfImpl_
    31 typedef struct XADynamicSourceItfImpl_
    32 {
    32     {
    33     /* parent interface */
    33     /* parent interface */
    34     struct XADynamicSourceItf_ itf;
    34     struct XADynamicSourceItf_ itf;
    35     /* pointer to self */
    35     /* pointer to self */
    36     struct XADynamicSourceItfImpl_* self;
    36     struct XADynamicSourceItfImpl_* self;
    37     /* variables */
    37     /* variables */
    38     XAAdaptationBaseCtx *adaptCtx;
    38     XAAdaptationBaseCtx *adaptCtx;
    39 
    39 
    40 } XADynamicSourceItfImpl;
    40     } XADynamicSourceItfImpl;
    41 
    41 
    42 /** METHODS **/
    42 /** METHODS **/
    43 
    43 
    44 /* Base interface XADynamicSourceItf implementation
    44 /* Base interface XADynamicSourceItf implementation
    45  * See API Specification for method documentation
    45  * See API Specification for method documentation
    46  */
    46  */
    47 XAresult XADynamicSourceItfImpl_SetSource(XADynamicSourceItf self,
    47 XAresult XADynamicSourceItfImpl_SetSource(XADynamicSourceItf self,
    48                                         XADataSource *pDataSource);
    48         XADataSource *pDataSource);
    49 
    49 
    50 /* XADynamicSourceItfImpl -specific methods */
    50 /* XADynamicSourceItfImpl -specific methods */
    51 XADynamicSourceItfImpl* XADynamicSourceItfImpl_Create(XAAdaptationBaseCtx *adaptCtx);
    51 XADynamicSourceItfImpl* XADynamicSourceItfImpl_Create(
       
    52         XAAdaptationBaseCtx *adaptCtx);
    52 void XADynamicSourceItfImpl_Free(XADynamicSourceItfImpl* self);
    53 void XADynamicSourceItfImpl_Free(XADynamicSourceItfImpl* self);
    53 
    54 
    54 #endif /* XADYNAMICSOURCEITF_H */
    55 #endif /* XADYNAMICSOURCEITF_H */