X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fcommon.h;h=360f99adde3022bf51a79c65b32831462256bd89;hb=bfacdd3b71576cf6ceaa83352d3a7d162adb75e1;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=3613244ff0f7da156d25406bb5a0ad796237a7e4;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/include/common.h b/Usermode/Applications/axwin3_src/WM/include/common.h index e69de29b..360f99ad 100644 --- a/Usermode/Applications/axwin3_src/WM/include/common.h +++ b/Usermode/Applications/axwin3_src/WM/include/common.h @@ -0,0 +1,36 @@ +/* + * Acess2 Window Manager v3 (axwin3) + * - By John Hodge (thePowersGang) + * + * include/common.h + * - Common definitions and functions + */ +#ifndef _COMMON_H_ +#define _COMMON_H_ + +#include + +#define TODO(str) + +#define UNIMPLEMENTED() do{_SysDebug("TODO: Implement %s", __func__); for(;;);}while(0) + +#define AXWIN_VERSION 0x300 + +// === GLOBALS === +extern int giTerminalFD; +extern const char *gsTerminalDevice; + +extern int giScreenWidth, giScreenHeight; + +// === FUNCTIONS === +// --- Input --- +extern int Input_Init(void); +extern void Input_FillSelect(int *nfds, fd_set *set); +extern void Input_HandleSelect(fd_set *set); +// --- IPC --- +extern void IPC_Init(void); +extern void IPC_FillSelect(int *nfds, fd_set *set); +extern void IPC_HandleSelect(fd_set *set); + +#endif +