khronosfws/openmax_al/src/engine/xaengineitf.h
changeset 19 4a629bc82c5e
parent 12 5a06f39ad45b
child 25 6f7ceef7b1d1
equal deleted inserted replaced
14:80975da52420 19:4a629bc82c5e
    18 #ifndef XAENGINEITF_H
    18 #ifndef XAENGINEITF_H
    19 #define XAENGINEITF_H
    19 #define XAENGINEITF_H
    20 
    20 
    21 #include "openmaxalwrapper.h"
    21 #include "openmaxalwrapper.h"
    22 #include "xaglobals.h"
    22 #include "xaglobals.h"
    23 
    23 #include "xaframeworkmgr.h"
       
    24 #include "xacapabilitiesmgr.h"
    24 /** MACROS **/
    25 /** MACROS **/
    25 
    26 
    26 /** TYPES **/
    27 /** TYPES **/
    27 
    28 
    28 /** ENUMERATIONS **/
    29 /** ENUMERATIONS **/
    34     /* parent interface */
    35     /* parent interface */
    35     struct XAEngineItf_ itf;
    36     struct XAEngineItf_ itf;
    36     /* pointer to self */
    37     /* pointer to self */
    37     struct XAEngineItfImpl_* self;
    38     struct XAEngineItfImpl_* self;
    38     /* variables */
    39     /* variables */
       
    40     /*Not Owned*/
       
    41     struct FrameworkMap_* mapper;
       
    42     /*Not Owned*/
       
    43     struct XACapabilities_* capabilities;
       
    44     
       
    45     int xyz;
       
    46     
    39 } XAEngineItfImpl;
    47 } XAEngineItfImpl;
    40 
    48 
    41 /** METHODS **/
    49 /** METHODS **/
    42 
    50 
    43 /* Base interface XAEngineItf implementation */
    51 /* Base interface XAEngineItf implementation */
   150 XAresult XAEngineItfImpl_IsExtensionSupported(XAEngineItf self,
   158 XAresult XAEngineItfImpl_IsExtensionSupported(XAEngineItf self,
   151                                               const XAchar *pExtensionName,
   159                                               const XAchar *pExtensionName,
   152                                               XAboolean *pSupported);
   160                                               XAboolean *pSupported);
   153 
   161 
   154 /* XAEngineItfImpl -specific methods */
   162 /* XAEngineItfImpl -specific methods */
   155 XAEngineItfImpl* XAEngineItfImpl_Create(void);
   163 XAEngineItfImpl* XAEngineItfImpl_Create(FrameworkMap* fwkmapper, XACapabilities* capabilities);
   156 void XAEngineItfImpl_Free(XAEngineItfImpl *self);
   164 void XAEngineItfImpl_Free(XAEngineItfImpl *self);
   157 
   165 
   158 #endif /* XAENGINEITF_H */
   166 #endif /* XAENGINEITF_H */