kb_machblue_client_data.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:2k
- /*-----------------------------------------------------------------------------
- | @(#) kb_machblue_client_data.h
- |
- | JSWF: The Portable SWF Engine For Embedded Devices,
- | Copyright (c) 2002-2006, BlueStreak Technology Inc., All Rights Reserved.
- |
- +----------------------------------------------------------------------------*/
- #ifndef KB_MACHBLUE_CLIENT_DATA_H_
- #define KB_MACHBLUE_CLIENT_DATA_H_
- /*----------------------------------------------------------
- | Include definition below this line
- +----------------------------------------------------------*/
- #ifdef __cplusplus
- extern "C" {
- #endif /* __cplusplus */
- #include "db.h"
- #include "nvod.h"
- #include "kb_machblue_client_define.h"
- //type of service list
- typedef enum
- {
- all_tv_list,
- radio_list,
- NVOD_list,
- list_last
- }kb_service_list_type;
- extern kb_movie_serviceList_t _kb_mb_serviceList[list_last];
- /**
- * This function send notification to machblue player.
- * @return MB_SUCCESS on success, MB_FAILURE on failure.
- */
- extern mb_error_t kb_mb_notification_send(mb_tv_notif_reason_t reason,mb_args_t *args);
- /**
- * This function get the service list pointer.
- * @return pointer of service list.
- */
- extern kb_movie_serviceList_t *kb_mb_service_list_get(void);
- /**
- * This function create event schedule of service.
- * service < service which event belong to >
-
- * @return MB_SUCCESS on success, MB_FAILURE on failure.
- */
- extern mb_error_t kb_mb_event_schedule_create(kb_movie_service_t *service);
- extern mb_error_t kb_mb_service_list_clear(void);
- extern mb_error_t kb_mb_service_list_reset(void);
- extern mb_error_t kb_mb_service_list_resetEx(void);
- extern mb_error_t kb_mb_event_schedule_reset(void);
- extern mb_error_t kb_machblue_service_list_NVOD_init(UINT8 count,KB_NVOD_Info*pNVOD[]);
- extern kb_movie_serviceContext_t *kb_mb_service_context_get(void);
- extern void kb_mb_notification_set(mb_tv_notify_f *notify_fct,void *clientdata);
- extern mb_error_t kb_mb_service_list_init(void);
- extern mb_error_t kb_mb_service_context_init(void);
- extern kb_movie_service_t *getServiceByID(KB_DBPRGType type,unsigned short ID);
- #ifdef __cplusplus
- } /* extern "C" */
- #endif /* __cplusplus */
- #endif /* _MACHBLUE_TV_CUSTOMER_H_ */