2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
9 /*********************************************************************************************/
11 #define MUIMASTER_YES_INLINE_STDARG
13 #include <proto/alib.h>
14 #include <proto/intuition.h>
15 #include <proto/muimaster.h>
17 #include <zune/systemprefswindow.h>
24 #include <aros/debug.h>
26 #define VERSION "$VER: Printer 0.1 (31.1.2011) AROS Dev Team"
27 /*********************************************************************************************/
29 int main(int argc
, char **argv
)
34 D(bug("[printer prefs] InitLocale\n"));
37 D(bug("[printer prefs] started\n"));
40 if (ReadArguments(argc
, argv
))
42 D(bug("[printer prefs] initialized\n"));
43 if (ARG(USE
) || ARG(SAVE
))
45 Prefs_HandleArgs((STRPTR
)ARG(FROM
), ARG(USE
), ARG(SAVE
));
49 application
= (Object
*)ApplicationObject
,
50 MUIA_Application_Author
, (IPTR
)"Jason McMullan <jason.mcmullan@gmail.com>",
51 MUIA_Application_Copyright
, (IPTR
)"2012, AROS Team",
52 MUIA_Application_Title
, __(MSG_WINTITLE
),
53 MUIA_Application_Version
, (IPTR
) VERSION
,
54 MUIA_Application_Description
, __(MSG_WINTITLE
),
55 MUIA_Application_SingleTask
, TRUE
,
56 MUIA_Application_Base
, (IPTR
) "PRINTERPREF",
57 SubWindow
, (IPTR
)(window
=
58 SystemPrefsWindowObject
,
59 MUIA_Window_ID
, ID_PTXT
,
60 WindowContents
, (IPTR
)
66 if (application
!= NULL
)
68 SET(window
, MUIA_Window_Open
, TRUE
);
69 DoMethod(application
, MUIM_Application_Execute
);
71 MUI_DisposeObject(application
);
77 Locale_Deinitialize();
81 /*********************************************************************************************/