00001
00022 #ifndef __NRC_SYMBIAN_COMPONENT_LOADER_H__
00023 #define __NRC_SYMBIAN_COMPONENT_LOADER_H__
00024
00025 #include <OMX_Component.h>
00026 #include <OMX_Types.h>
00027
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031
00032 #include "omxcore.h"
00033
00034 void
00035 setup_component_loader(BOSA_COMPONENTLOADER* loader);
00036
00037 OMX_ERRORTYPE
00038 BOSA_NRC_SYMBIAN_InitComponentLoader(BOSA_COMPONENTLOADER *loader);
00039
00040 OMX_ERRORTYPE
00041 BOSA_NRC_SYMBIAN_DeInitComponentLoader(BOSA_COMPONENTLOADER *loader);
00042
00043 OMX_ERRORTYPE
00044 BOSA_NRC_SYMBIAN_CreateComponent(BOSA_COMPONENTLOADER *loader,
00045 OMX_OUT OMX_HANDLETYPE* pHandle,
00046 OMX_IN OMX_STRING cComponentName,
00047 OMX_IN OMX_PTR pAppData,
00048 OMX_IN OMX_CALLBACKTYPE* pCallBacks);
00049
00050 OMX_ERRORTYPE
00051 BOSA_NRC_SYMBIAN_DestroyComponent(BOSA_COMPONENTLOADER *loader,
00052 OMX_HANDLETYPE hComponent);
00053
00054 OMX_ERRORTYPE
00055 BOSA_NRC_SYMBIAN_ComponentNameEnum(BOSA_COMPONENTLOADER *loader,
00056 OMX_STRING cComponentName,
00057 OMX_U32 nNameLength,
00058 OMX_U32 nIndex);
00059
00060 OMX_ERRORTYPE
00061 BOSA_NRC_SYMBIAN_GetRolesOfComponent(BOSA_COMPONENTLOADER *loader,
00062 OMX_STRING compName,
00063 OMX_U32 *pNumRoles,
00064 OMX_U8 **roles);
00065
00066 OMX_API OMX_ERRORTYPE
00067 BOSA_NRC_SYMBIAN_GetComponentsOfRole(BOSA_COMPONENTLOADER *loader,
00068 OMX_STRING role,
00069 OMX_U32 *pNumComps,
00070 OMX_U8 **compNames);
00071
00072 #ifdef __cplusplus
00073 }
00074 #endif
00075
00076 #endif