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 MUI_MccprefsData
*data
;
32 struct TagItem
*tag
, *tags
;
34 obj
= (Object
*)DoSuperMethodA(cl
, obj
, (Msg
)msg
);
39 data
= INST_DATA(cl
, obj
);
41 /* parse initial taglist */
42 for (tags
= msg
->ops_AttrList
; (tag
= NextTagItem((const struct TagItem
**)&tags
)); )
53 BOOPSI_DISPATCHER(IPTR
, Mccprefs_Dispatcher
, cl
, obj
, msg
)
55 switch (msg
->MethodID
)
57 case OM_NEW
: return Mccprefs__OM_NEW(cl
, obj
, (struct opSet
*)msg
);
60 return DoSuperMethodA(cl
, obj
, msg
);
67 const struct __MUIBuiltinClass _MUI_Mccprefs_desc
= {
70 sizeof(struct MUI_MccprefsData
),
71 (void*)Mccprefs_Dispatcher