2 Copyright © 1995-2011, 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 (01.31.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_Base
, (IPTR
) "PRINTERPREF",
56 SubWindow
, (IPTR
)(window
=
57 SystemPrefsWindowObject
,
58 MUIA_Window_ID
, ID_PTXT
,
59 WindowContents
, (IPTR
)
65 if (application
!= NULL
)
67 SET(window
, MUIA_Window_Open
, TRUE
);
68 DoMethod(application
, MUIM_Application_Execute
);
70 MUI_DisposeObject(application
);
76 Locale_Deinitialize();
80 /*********************************************************************************************/