2 * AxWin3 Interface Library
3 * - By John Hodge (thePowersGang)
6 * - Entrypoint and setup
8 #include <axwin3/axwin.h>
9 #include "include/internal.h"
10 #include "include/ipc.h"
14 int SoMain(void *Base, int argc, const char *argv[], const char **envp)
16 // TODO: Parse the environment for the AXWIN3_SERVER variable
17 gsAxWin3_int_ServerDesc = getenv("AXWIN3_SERVER");
21 void AxWin3_MainLoop(void)
23 tAxWin_IPCMessage *msg;
28 msg = AxWin3_int_GetIPCMessage();
31 _SysDebug("oh look, a message (Type=%i, Window=%i, Len=%i)",
32 msg->ID, msg->Window, msg->Size);
34 AxWin3_int_HandleMessage( msg );