2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
6 #define MUIMASTER_YES_INLINE_STDARG
9 #include <aros/debug.h>
11 #include <exec/types.h>
12 #include <intuition/classes.h>
13 #include <intuition/classusr.h>
14 #include <libraries/mui.h>
18 #include "desktop_intern.h"
20 #include <proto/dos.h>
21 #include <proto/intuition.h>
22 #include <proto/utility.h>
24 #include "presentation.h"
25 #include "diskiconclass.h"
27 #include "desktop_intern_protos.h"
29 IPTR
diskIconNew(Class
* cl
, Object
* obj
, struct opSet
* msg
)
32 struct DiskIconClassData
*data
;
33 //struct TagItem *tag;
35 retval
= DoSuperMethodA(cl
, obj
, (Msg
) msg
);
39 obj
= (Object
*) retval
;
40 data
= INST_DATA(cl
, obj
);
46 IPTR
diskIconSet(Class
* cl
, Object
* obj
, struct opSet
* msg
)
48 struct DiskIconClassData
*data
;
51 *tstate
= msg
->ops_AttrList
;
53 data
= (struct DiskIconClassData
*) INST_DATA(cl
, obj
);
55 while ((tag
= NextTagItem(&tstate
)))
64 retval
= DoSuperMethodA(cl
, obj
, (Msg
) msg
);
69 IPTR
diskIconGet(Class
* cl
, Object
* obj
, struct opGet
* msg
)
72 struct DiskIconClassData
*data
;
74 data
= (struct DiskIconClassData
*) INST_DATA(cl
, obj
);
76 switch (msg
->opg_AttrID
)
79 retval
= DoSuperMethodA(cl
, obj
, (Msg
) msg
);
86 IPTR
diskIconDispose(Class
* cl
, Object
* obj
, Msg msg
)
90 retval
= DoSuperMethodA(cl
, obj
, msg
);
95 BOOPSI_DISPATCHER(IPTR
, diskIconDispatcher
, cl
, obj
, msg
)
99 switch (msg
->MethodID
)
102 retval
= diskIconNew(cl
, obj
, (struct opSet
*) msg
);
105 retval
= diskIconSet(cl
, obj
, (struct opSet
*) msg
);
108 retval
= diskIconGet(cl
, obj
, (struct opGet
*) msg
);
111 retval
= diskIconDispose(cl
, obj
, msg
);
114 retval
= DoSuperMethodA(cl
, obj
, msg
);
120 BOOPSI_DISPATCHER_END