00001 00030 #ifndef __COMPONENT_LOADER_H__ 00031 #define __COMPONENT_LOADER_H__ 00032 00033 #include "omxcore.h" 00034 00041 typedef struct BOSA_COMPONENTLOADER 00042 { 00053 OMX_ERRORTYPE (*BOSA_InitComponentLoader)(struct BOSA_COMPONENTLOADER *loader); 00054 00065 OMX_ERRORTYPE (*BOSA_DeInitComponentLoader)(struct BOSA_COMPONENTLOADER *loader); 00066 00087 OMX_ERRORTYPE (*BOSA_CreateComponent)( 00088 struct BOSA_COMPONENTLOADER *loader, 00089 OMX_HANDLETYPE* pHandle, 00090 OMX_STRING cComponentName, 00091 OMX_PTR pAppData, 00092 OMX_CALLBACKTYPE* pCallBacks); 00093 00114 OMX_ERRORTYPE (*BOSA_DestroyComponent)( 00115 struct BOSA_COMPONENTLOADER *loader, 00116 OMX_HANDLETYPE hComponent); 00117 00144 OMX_ERRORTYPE (*BOSA_ComponentNameEnum)( 00145 struct BOSA_COMPONENTLOADER *loader, 00146 OMX_STRING cComponentName, 00147 OMX_U32 nNameLength, 00148 OMX_U32 nIndex); 00149 00176 OMX_ERRORTYPE (*BOSA_GetRolesOfComponent)( 00177 struct BOSA_COMPONENTLOADER *loader, 00178 OMX_STRING compName, 00179 OMX_U32 *pNumRoles, 00180 OMX_U8 **roles); 00181 00211 OMX_ERRORTYPE (*BOSA_GetComponentsOfRole) ( 00212 struct BOSA_COMPONENTLOADER *loader, 00213 OMX_STRING role, 00214 OMX_U32 *pNumComps, 00215 OMX_U8 **compNames); 00216 00222 void *loaderPrivate; 00223 00224 } BOSA_COMPONENTLOADER; 00225 00226 #endif