2 Copyright © 2004-2007, 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/intuition.h>
14 #include <proto/muimaster.h>
15 #include <libraries/mui.h>
18 #include <zune/systemprefswindow.h>
22 #define VERSIONSTR "$VER: Wanderer Prefs 1.1 (18.02.2006) ©1995-2007 The AROS Development Team"
26 Object
*application
, *window
;
29 D(bug("[WPEditor.exe] Starting...\n"));
31 NewDir
= Lock("RAM:", SHARED_LOCK
);
33 OldDir
= CurrentDir(NewDir
);
34 application
= ApplicationObject
,
35 MUIA_Application_Title
, (IPTR
) "Wanderer Prefs",
36 MUIA_Application_Version
, (IPTR
) VERSIONSTR
,
37 MUIA_Application_Description
, __(MSG_DESCRIPTION
),
38 MUIA_Application_Copyright
, (IPTR
)"Copyright © 1995-2006, The AROS Development Team",
39 MUIA_Application_Author
, (IPTR
)"The AROS Development Team",
40 MUIA_Application_Base
, (IPTR
)"WANDERERPREFS",
41 MUIA_Application_SingleTask
, TRUE
,
43 window
= SystemPrefsWindowObject
,
44 MUIA_Window_ID
, MAKE_ID('W','W','I','N'),
45 MUIA_Window_Title
, __(MSG_NAME
),
46 WindowContents
, (IPTR
)WPEditorObject
,
53 SET(window
, MUIA_Window_Open
, TRUE
);
54 DoMethod(application
, MUIM_Application_Execute
);
55 SET(window
, MUIA_Window_Open
, FALSE
);
56 MUI_DisposeObject(application
);
59 D(bug("[WPEditor.exe] Can't create application!\n"));
65 Locale_Deinitialize();
66 D(bug("[WPEditor.exe] Quitting...\n"));