- #ifndef __GENDEF_H__
- #define __GENDEF_H__
- #include "sttbx.h"
- #ifndef INT8
- typedef signed char INT8;
- #endif
- #ifndef UINT8
- typedef unsigned char UINT8;
- #endif
- #ifndef INT16
- typedef short INT16;
- #endif
- #ifndef UINT16
- typedef unsigned short UINT16;
- #endif
- #ifndef INT32
- typedef signed long INT32;
- #endif
- #ifndef UINT32
- typedef unsigned long UINT32;
- #endif
- #ifndef BYTE
- typedef unsigned char BYTE;
- #endif
- #ifndef WORD
- typedef unsigned short WORD;
- #endif
- #ifndef DWORD
- typedef unsigned long DWORD;
- #endif
- #ifndef RetValue
- typedef INT32 RetValue;
- #endif
- #ifndef FALSE
- #define FALSE (0)
- #endif
- #ifndef TRUE
- #define TRUE (1)
- #endif
- #ifndef NULL
- #define NULL (0)
- #endif
- #ifndef RETOK
- #define RETOK (0)
- #endif
- #ifndef RETFIAL1
- #define RETFIAL1 (-1)
- #endif
- #ifndef RETFAIL2
- #define RETFAIL2 (-2)
- #endif
- #ifndef RETFAIL3
- #define RETFAIL3 (-3)
- #endif
- #ifndef RETFAIL4
- #define RETFAIL4 (-4)
- #endif
- #ifndef STTBX_PRINT
- #define STTBX_PRINT
- #endif
- extern printf(const char *format,...);
- #ifndef Print
- #define Print printf
- #endif
- #define DBGError KB_ErrorGetText
- #define DBGPrint Print
- //for yyj test
- #define myprintf Print
- #define DMX_PRIORITY (7*16)
- #define FP_PRIORITY (4*16)
- #define SIPSI_PRIORITY (6*16)
- #define MENU_PRIORITY (6*16)
- #define EPG_PRIORITY (5*16)
- #define IRC_PRIORITY (5*16)
- #define TIM_PRIORITY (5*16)
- #define SYSPOWER_PRIORITY (5*16)
- #define DMD_PRIORITY (4*16)
- #define PLAY_PRIORITY (4*16)
- #define GIF_PRIORITY (3*16)
- #define SCROLL_PRIORITY (2*16)
- #define CA_PRIORITY (5*16)/* set 4 : from menu to play default play station is not die */
- #define SEARCH_PRIORITY (3*16)
- #endif