2 Copyright © 2002-2004, The AROS Development Team. All rights reserved.
6 #define MUIMASTER_YES_INLINE_STDARG
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>
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;
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"));