added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / libs / muimaster / classes / settingsgroup.c
blob8b38af319fcb321f35ebe5360de00ff457db3201
1 /*
2 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define MUIMASTER_YES_INLINE_STDARG
8 #include <graphics/gfx.h>
9 #include <graphics/view.h>
10 #include <clib/alib_protos.h>
11 #include <proto/exec.h>
12 #include <proto/graphics.h>
13 #include <proto/utility.h>
14 #include <proto/intuition.h>
15 #include <proto/muimaster.h>
17 #include "mui.h"
18 #include "muimaster_intern.h"
19 #include "support.h"
20 #include "support_classes.h"
21 #include "settingsgroup_private.h"
23 extern struct Library *MUIMasterBase;
26 IPTR Settingsgroup__OM_NEW(struct IClass *cl, Object *obj, struct opSet *msg)
28 struct MUI_Settingsgroup *data;
29 struct TagItem *tag, *tags;
31 obj = (Object *) DoSuperNewTags
33 cl, obj, NULL,
34 TAG_MORE, (IPTR) msg->ops_AttrList
36 if (!obj) return FALSE;
38 data = INST_DATA(cl, obj);
40 /* parse initial taglist */
42 for (tags = msg->ops_AttrList; (tag = NextTagItem(&tags)); )
44 switch (tag->ti_Tag)
49 return (IPTR)obj;
52 IPTR Settingsgroup__MUIM_Settingsgroup_ConfigToGadgets(struct IClass *cl, Object *obj, struct MUIP_Settingsgroup_ConfigToGadgets *msg)
54 //struct MUI_Settingsgroup *data = INST_DATA(cl, obj);
55 return 0;
58 IPTR Settingsgroup__MUIM_Settingsgroup_GadgetsToConfig(struct IClass *cl, Object *obj, struct MUIP_Settingsgroup_GadgetsToConfig *msg)
60 //struct MUI_Settingsgroup *data = INST_DATA(cl, obj);
61 return 0;
64 #if ZUNE_BUILTIN_SETTINGSGROUP
65 BOOPSI_DISPATCHER(IPTR, Settingsgroup_Dispatcher, cl, obj, msg)
67 switch (msg->MethodID)
69 case OM_NEW:
70 return Settingsgroup__OM_NEW(cl, obj, (struct opSet *)msg);
72 case MUIM_Settingsgroup_ConfigToGadgets:
73 return Settingsgroup__MUIM_Settingsgroup_ConfigToGadgets(cl,obj,(APTR)msg);
75 case MUIM_Settingsgroup_GadgetsToConfig:
76 return Settingsgroup__MUIM_Settingsgroup_GadgetsToConfig(cl,obj,(APTR)msg);
78 default:
79 return DoSuperMethodA(cl, obj, msg);
82 BOOPSI_DISPATCHER_END
84 const struct __MUIBuiltinClass _MUI_Settingsgroup_desc =
86 MUIC_Settingsgroup,
87 MUIC_Group,
88 sizeof(struct Settingsgroup_DATA),
89 (void*)Settingsgroup_Dispatcher
91 #endif /* ZUNE_BUILTIN_SETTINGSGROUP */