2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
6 /*********************************************************************************************/
8 #define MUIMASTER_YES_INLINE_STDARG
10 #include <proto/alib.h>
11 #include <proto/intuition.h>
12 #include <proto/muimaster.h>
14 #include <zune/systemprefswindow.h>
17 #include "icontroleditor.h"
22 #include <aros/debug.h>
24 #define VERSION "$VER: IControl 1.4 (7.1.2014) 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_WINTITLE
),
46 MUIA_Application_Version
, (IPTR
) VERSION
,
47 MUIA_Application_Description
, __(MSG_WINTITLE
),
48 MUIA_Application_SingleTask
, TRUE
,
49 MUIA_Application_Base
, (IPTR
) "ICONTROLPREF",
50 SubWindow
, (IPTR
)(window
= (Object
*)SystemPrefsWindowObject
,
51 MUIA_Window_ID
, ID_ICTL
,
52 WindowContents
, (IPTR
) IControlEditorObject
,
57 if (application
!= NULL
)
59 SET(window
, MUIA_Window_Open
, TRUE
);
60 DoMethod(application
, MUIM_Application_Execute
);
62 MUI_DisposeObject(application
);
68 Locale_Deinitialize();