Usermode - Removed axwin2 (completly defunct)
[tpg/acess2.git] / Usermode / Applications / axwin2_src / WM / main.c
diff --git a/Usermode/Applications/axwin2_src/WM/main.c b/Usermode/Applications/axwin2_src/WM/main.c
deleted file mode 100644 (file)
index 48e47ff..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Acess GUI (AxWin) Version 2
- * By John Hodge (thePowersGang)
- */
-#include "common.h"
-#include <acess/sys.h>
-
-// === IMPORTS ===
-extern void    WM_Update(void);
-extern int     Input_Init(void);
-
-// === GLOBALS ===
-const char     *gsTerminalDevice = NULL;
-const char     *gsMouseDevice = NULL;
-
- int   giScreenWidth = 640;
- int   giScreenHeight = 480;
-uint32_t       *gpScreenBuffer = NULL;
-
- int   giTerminalFD = -1;
- int   giMouseFD = -1;
-
-// === CODE ===
-/**
- * \brief Program Entrypoint
- */
-int main(int argc, char *argv[])
-{
-       ParseCommandline(argc, argv);
-       
-       if( gsTerminalDevice == NULL ) {
-               gsTerminalDevice = "/Devices/VTerm/6";
-       }
-       if( gsMouseDevice == NULL ) {
-               gsMouseDevice = "/Devices/PS2Mouse";
-       }
-       
-       Video_Setup();
-       Interface_Init();
-       IPC_Init();
-       Input_Init();
-       
-       WM_Update();
-       
-       // Main Loop
-       for(;;)
-       {
-               fd_set  fds;
-                int    nfds = 0;
-               FD_ZERO(&fds);
-       
-               Input_FillSelect(&nfds, &fds);
-               IPC_FillSelect(&nfds, &fds);
-               
-               nfds ++;
-               select(nfds, &fds, NULL, NULL, NULL);
-
-               Input_HandleSelect(&fds);
-               IPC_HandleSelect(&fds);
-       }
-       return 0;
-}
-

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