Usermode/AxWin3 - Workign on interface lib, adding basic UI app
[tpg/acess2.git] / Usermode / Libraries / libaxwin3.so_src / main.c
1 /*
2  * AxWin3 Interface Library
3  * - By John Hodge (thePowersGang)
4  *
5  * main.c
6  * - Entrypoint and setup
7  */
8 #include <axwin3/axwin.h>
9 #include "include/ipc.h"
10
11 // === CODE ===
12 int SoMain(void *Base, int argc, const char *argv[], const char **envp)
13 {
14         // TODO: Parse the environment for the AXWIN3_PID variable
15         return 0;
16 }
17
18 void AxWin3_MainLoop(void)
19 {
20         tAxWin_IPCMessage       *msg;
21          int    bExit = 0;      
22
23         while(!bExit)
24         {
25                 msg = AxWin3_int_GetIPCMessage();
26                 
27                 // TODO: Handle message
28         }
29 }
30

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