2 * Acess2 Window Manager v3 (axwin3)
3 * - By John Hodge (thePowersGang)
6 * - Common definitions and functions
11 #include <acess/sys.h>
15 #define ASSERT(expr) do{if(!(expr)){_SysDebug("%s:%i - ASSERTION FAILED: "#expr, __FILE__, __LINE__);exit(-1);}}while(0)
17 #define UNIMPLEMENTED() do{_SysDebug("TODO: Implement %s", __func__); for(;;);}while(0)
19 #define AXWIN_VERSION 0x300
22 extern int giTerminalFD;
23 extern const char *gsTerminalDevice;
25 extern int giScreenWidth, giScreenHeight;
29 extern int Input_Init(void);
30 extern void Input_FillSelect(int *nfds, fd_set *set);
31 extern void Input_HandleSelect(fd_set *set);
33 extern void IPC_Init(void);
34 extern void IPC_FillSelect(int *nfds, fd_set *set);
35 extern void IPC_HandleSelect(fd_set *set);