add casts to zune macros to silence some warnings
[tangerine.git] / workbench / system / Wanderer / main.c
blobe1bc361e715352420a3deb07e3865f8220dbd412
1 /*
2 Copyright © 2002-2004, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define MUIMASTER_YES_INLINE_STDARG
8 #define DEBUG 0
9 #include <aros/debug.h>
11 #include <libraries/mui.h>
12 #include <proto/intuition.h>
13 #include <proto/muimaster.h>
14 #include <proto/workbench.h>
15 #include <dos/dos.h>
17 #include "locale.h"
18 #include "wanderer.h"
20 /* global variables */
21 Object *_WandererIntern_AppObj = NULL;
22 Class *_WandererIntern_CLASS = NULL;
24 /* Don't output errors to the console, open requesters instead */
25 int __forceerrorrequester = 1;
27 int main(void)
29 LONG retval = RETURN_ERROR;
31 D(bug("[Wanderer.EXE] Wanderer Initialising .. \n"));
33 OpenWorkbenchObject("Wanderer:Tools/ExecuteStartup", 0, 0);
35 if ((_WandererIntern_AppObj = WandererObject, End) != NULL)
37 D(bug("[Wanderer.EXE] Handing control over to Zune .. \n"));
38 retval = DoMethod(_WandererIntern_AppObj, MUIM_Application_Execute);
39 D(bug("[Wanderer.EXE] Returned from Zune's control .. \n"));
40 MUI_DisposeObject(_WandererIntern_AppObj);
43 D(bug("[Wanderer.EXE] Exiting .. \n"));
45 return retval;