Usermode/AxWin4 - Starting work on client-side library
[tpg/acess2.git] / Usermode / Libraries / libaxwin4.so_src / include_exp / axwin4 / axwin.h
1 /*
2  */
3 #ifndef _LIBAXWIN4_AXWIN4_AXWIN_H_
4 #define _LIBAXWIN4_AXWIN4_AXWIN_H_
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 #include <stdint.h>
11 #include <stdbool.h>
12 #include <acess/sys.h>
13
14 typedef struct sAxWin4_Window   tAxWin4_Window;
15
16 // - Abstractions of core IPC methods
17 extern bool     AxWin4_Connect(const char *URI);
18
19 extern bool     AxWin4_WaitEventQueue(uint64_t Timeout);        
20 extern bool     AxWin4_WaitEventQueueSelect(int nFDs, fd_set *rfds, fd_set *wfds, fd_set *efds, uint64_t Timeout);
21
22 extern tAxWin4_Window   *AxWin4_CreateWindow(const char *Name);
23 extern void     AxWin4_ShowWindow(tAxWin4_Window *Window);
24 extern void     AxWin4_SetTitle(tAxWin4_Window *Window, const char *Title);
25 extern void     AxWin4_DrawBitmap(tAxWin4_Window *Window, int X, int Y, unsigned int W, unsigned int H, void *Data);
26
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif
33

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