--- np2/x11/taskmng.h 2003/11/16 16:43:45 1.1 +++ np2/x11/taskmng.h 2011/01/15 19:16:58 1.3 @@ -1,14 +1,18 @@ #ifndef NP2_X11_TASKMNG_H__ #define NP2_X11_TASKMNG_H__ -#ifdef __cplusplus -extern "C" { -#endif +#include "compiler.h" +#include "np2.h" + +G_BEGIN_DECLS + +void taskmng_initialize(void); +BOOL taskmng_sleep(UINT32 tick); void taskmng_exit(void); -#ifdef __cplusplus -} -#endif +#define taskmng_isavail() np2running + +G_END_DECLS #endif /* NP2_X11_TASKMNG_H__ */