2 Copyright © 2003-2006, The AROS Development Team. All rights reserved.
6 #include <clib/alib_protos.h>
8 #include <proto/exec.h>
9 #include <proto/utility.h>
10 #include <proto/intuition.h>
11 #include <proto/muimaster.h>
13 /* #define MYDEBUG 1 */
16 #include "muimaster_intern.h"
19 extern struct Library
*MUIMasterBase
;
21 struct MUI_MccprefsData
26 /**************************************************************************
28 **************************************************************************/
29 IPTR
Mccprefs__OM_NEW(struct IClass
*cl
, Object
*obj
, struct opSet
*msg
)
31 struct TagItem
*tag
, *tags
;
33 obj
= (Object
*) DoSuperMethodA(cl
, obj
, (Msg
) msg
);
38 /* parse initial taglist */
39 for (tags
= msg
->ops_AttrList
; (tag
= NextTagItem(&tags
));)
50 BOOPSI_DISPATCHER(IPTR
, Mccprefs_Dispatcher
, cl
, obj
, msg
)
52 switch (msg
->MethodID
)
55 return Mccprefs__OM_NEW(cl
, obj
, (struct opSet
*)msg
);
58 return DoSuperMethodA(cl
, obj
, msg
);
65 const struct __MUIBuiltinClass _MUI_Mccprefs_desc
=
69 sizeof(struct MUI_MccprefsData
),
70 (void *) Mccprefs_Dispatcher