src/hal.h
changeset 6192 c6adfc929c6b
parent 5887 063ca43b682c
child 6285 187e3ef04cc9
equal deleted inserted replaced
6191:12d69f54e920 6192:c6adfc929c6b
     1 /* $Id$ */
     1 /* $Id$ */
     2 
     2 
     3 #ifndef HAL_H
     3 #ifndef HAL_H
     4 #define HAL_H
     4 #define HAL_H
     5 
       
     6 #ifdef __cplusplus
       
     7 extern "C" {
       
     8 #endif //__cplusplus
       
     9 
     5 
    10 typedef struct {
     6 typedef struct {
    11 	const char *(*start)(const char * const *parm);
     7 	const char *(*start)(const char * const *parm);
    12 	void (*stop)(void);
     8 	void (*stop)(void);
    13 } HalCommonDriver;
     9 } HalCommonDriver;
    44 	VIDEO_DRIVER = 0,
    40 	VIDEO_DRIVER = 0,
    45 	SOUND_DRIVER = 1,
    41 	SOUND_DRIVER = 1,
    46 	MUSIC_DRIVER = 2,
    42 	MUSIC_DRIVER = 2,
    47 };
    43 };
    48 
    44 
    49 #ifdef __cplusplus
       
    50 } // extern "C"
       
    51 #endif //__cplusplus
       
    52 
       
    53 #endif /* HAL_H */
    45 #endif /* HAL_H */