Usermode/AxWin3 - Fixed all compile errors, runs and cursor moves, that is all
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / common.h
1 /*
2  * Acess2 Window Manager v3 (axwin3)
3  * - By John Hodge (thePowersGang)
4  *
5  * include/common.h
6  * - Common definitions and functions
7  */
8 #ifndef _COMMON_H_
9 #define _COMMON_H_
10
11 #include <acess/sys.h>
12
13 #define TODO(str)       
14
15 #define UNIMPLEMENTED() do{_SysDebug("TODO: Implement %s", __func__); for(;;);}while(0)
16
17 #define AXWIN_VERSION   0x300
18
19 // === GLOBALS ===
20 extern int      giTerminalFD;
21 extern const char       *gsTerminalDevice;
22
23 extern int      giScreenWidth, giScreenHeight;
24
25 // === FUNCTIONS ===
26 // --- Input ---
27 extern int      Input_Init(void);
28 extern void     Input_FillSelect(int *nfds, fd_set *set);
29 extern void     Input_HandleSelect(fd_set *set);
30 // --- IPC ---
31 extern void     IPC_Init(void);
32 extern void     IPC_FillSelect(int *nfds, fd_set *set);
33 extern void     IPC_HandleSelect(fd_set *set);
34
35 #endif
36

UCC git Repository :: git.ucc.asn.au