2 Copyright © 2013, 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_Base
, (IPTR
) "REQTOOLSPREF",
49 SubWindow
, (IPTR
)(window
= (Object
*)SystemPrefsWindowObject
,
50 MUIA_Window_ID
, MAKE_ID('R', 'Q', 'T', 'S'),
51 WindowContents
, (IPTR
) ReqToolsEditorObject
,
56 if (application
!= NULL
)
58 SET(window
, MUIA_Window_Open
, TRUE
);
59 DoMethod(application
, MUIM_Application_Execute
);
61 MUI_DisposeObject(application
);
67 Locale_Deinitialize();