2 Copyright © 2010-2011, 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>
16 #include <prefs/pointer.h>
24 #include <aros/debug.h>
26 #define VERSION "$VER: Pointer 1.4 (04.06.2012) AROS Dev Team"
27 /*********************************************************************************************/
29 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_Base
, (IPTR
) "POINTERPREF",
49 SubWindow
, (IPTR
)(window
= (Object
*)SystemPrefsWindowObject
,
50 MUIA_Window_ID
, ID_NPTR
,
51 WindowContents
, (IPTR
) PTEditorObject
,
56 if (application
!= NULL
)
58 SET(window
, MUIA_Window_Open
, TRUE
);
59 DoMethod(application
, MUIM_Application_Execute
);
61 MUI_DisposeObject(application
);
67 Locale_Deinitialize();