|
|
| version 1.1, 2003/11/16 16:43:45 | version 1.3, 2011/01/15 19:16:58 |
|---|---|
| Line 1 | Line 1 |
| #ifndef NP2_X11_TOOLWIN_H__ | #ifndef NP2_X11_TOOLWIN_H__ |
| #define NP2_X11_TOOLWIN_H__ | #define NP2_X11_TOOLWIN_H__ |
| G_BEGIN_DECLS | |
| enum { | enum { |
| SKINMRU_MAX = 4, | SKINMRU_MAX = 4, |
| FDDLIST_DRV = 2, | FDDLIST_DRV = 2, |
| Line 23 typedef struct { | Line 25 typedef struct { |
| char skinmru[SKINMRU_MAX][MAX_PATH]; | char skinmru[SKINMRU_MAX][MAX_PATH]; |
| } NP2TOOL; | } NP2TOOL; |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| extern NP2TOOL np2tool; | extern NP2TOOL np2tool; |
| #if 1 | #if !defined(SUPPORT_TOOLWINDOW) |
| #define toolwin_create() | #define toolwin_create() |
| #define toolwin_destroy() | #define toolwin_destroy() |
| #define toolwin_setfdd(drv, name) | #define toolwin_setfdd(drv, name) |
| Line 38 extern NP2TOOL np2tool; | Line 37 extern NP2TOOL np2tool; |
| #define toolwin_draw(frame) (void)frame | #define toolwin_draw(frame) (void)frame |
| #define toolwin_readini() | #define toolwin_readini() |
| #define toolwin_writeini() | #define toolwin_writeini() |
| #else | |
| #else /* !SUPPORT_TOOLWIN */ | |
| void toolwin_create(void); | void toolwin_create(void); |
| void toolwin_destroy(void); | void toolwin_destroy(void); |
| Line 51 void toolwin_draw(BYTE frame); | Line 52 void toolwin_draw(BYTE frame); |
| void toolwin_readini(void); | void toolwin_readini(void); |
| void toolwin_writeini(void); | void toolwin_writeini(void); |
| #endif | |
| #ifdef __cplusplus | #endif /* SUPPORT_TOOLWIN */ |
| } | |
| #endif | G_END_DECLS |
| #endif /* NP2_X11_TOOLWIN_H__ */ | #endif /* NP2_X11_TOOLWIN_H__ */ |