2 Copyright © 2004-2008, The AROS Development Team. All rights reserved.
3 This file is part of the Wanderer Preferences program, which is distributed
4 under the terms of version 2 of the GNU General Public License.
9 #include <aros/debug.h>
11 #define MUIMASTER_YES_INLINE_STDARG
13 #include <proto/dos.h>
14 #include <proto/intuition.h>
15 #include <proto/muimaster.h>
16 #include <libraries/mui.h>
19 #include <zune/systemprefswindow.h>
23 #define VERSIONSTR "$VER: Wanderer Prefs 1.1 (18.02.2006) ©1995-2007 The AROS Development Team"
27 Object
*application
, *window
;
30 D(bug("[WPEditor.exe] Starting...\n"));
32 NewDir
= Lock("RAM:", SHARED_LOCK
);
34 OldDir
= CurrentDir(NewDir
);
35 application
= ApplicationObject
,
36 MUIA_Application_Title
, (IPTR
) "Wanderer Prefs",
37 MUIA_Application_Version
, (IPTR
) VERSIONSTR
,
38 MUIA_Application_Description
, __(MSG_DESCRIPTION
),
39 MUIA_Application_Copyright
, (IPTR
)"Copyright © 1995-2006, The AROS Development Team",
40 MUIA_Application_Author
, (IPTR
)"The AROS Development Team",
41 MUIA_Application_Base
, (IPTR
)"WANDERERPREFS",
42 MUIA_Application_SingleTask
, TRUE
,
44 window
= (Object
*)SystemPrefsWindowObject
,
45 MUIA_Window_ID
, MAKE_ID('W','W','I','N'),
46 MUIA_Window_Title
, __(MSG_NAME
),
47 WindowContents
, (IPTR
)WPEditorObject
,
54 SET(window
, MUIA_Window_Open
, TRUE
);
55 DoMethod(application
, MUIM_Application_Execute
);
56 SET(window
, MUIA_Window_Open
, FALSE
);
57 MUI_DisposeObject(application
);
60 D(bug("[WPEditor.exe] Can't create application!\n"));
66 Locale_Deinitialize();
67 D(bug("[WPEditor.exe] Quitting...\n"));