2 Copyright © 2013-2016, The AROS Development Team. All rights reserved.
6 /*********************************************************************************************/
8 #define MUIMASTER_YES_INLINE_STDARG
11 #include <aros/debug.h>
13 #include <proto/alib.h>
14 #include <proto/intuition.h>
15 #include <proto/muimaster.h>
17 #include <zune/systemprefswindow.h>
20 #include "reqtoolseditor.h"
24 #define VERSION "$VER: ReqTools 41.0 (11.09.2013) AROS Dev Team"
26 /*********************************************************************************************/
28 int main(int argc
, char **argv
)
36 if (ReadArguments(argc
, argv
))
38 if (ARG(USE
) || ARG(SAVE
))
40 Prefs_HandleArgs((STRPTR
)ARG(FROM
), ARG(USE
), ARG(SAVE
));
44 application
= (Object
*)ApplicationObject
,
45 MUIA_Application_Title
, __(MSG_WINDOW_TITLE
),
46 MUIA_Application_Version
, (IPTR
) VERSION
,
47 MUIA_Application_Description
, __(MSG_WINDOW_TITLE
),
48 MUIA_Application_SingleTask
, TRUE
,
49 MUIA_Application_Base
, (IPTR
) "REQTOOLSPREF",
50 SubWindow
, (IPTR
)(window
= (Object
*)SystemPrefsWindowObject
,
51 MUIA_Window_ID
, MAKE_ID('R', 'Q', 'T', 'S'),
52 WindowContents
, (IPTR
) ReqToolsEditorObject
,
57 if (application
!= NULL
)
59 SET(window
, MUIA_Window_Open
, TRUE
);
60 DoMethod(application
, MUIM_Application_Execute
);
62 MUI_DisposeObject(application
);
68 Locale_Deinitialize();