squashed commit of private hostlib-resource branch
[tangerine.git] / compiler / include / intuition / classusr.h
blobe1fbdeceb2e0bc0d76944fbf41453d7352f8cdc4
1 #ifndef INTUITION_CLASSUSR_H
2 #define INTUITION_CLASSUSR_H
4 /*
5 Copyright 1995-2003, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #ifndef UTILITY_HOOKS_H
10 # include <utility/hooks.h>
11 #endif
12 #ifndef UTILITY_TAGITEM_H
13 # include <utility/tagitem.h>
14 #endif
16 #ifndef __typedef_Object
17 # define __typedef_Object
18 typedef ULONG Object;
19 #endif
21 #ifndef __typedef_ClassID
22 # define __typedef_ClassID
23 typedef CONST_STRPTR ClassID;
24 #endif
26 #ifndef __typedef_Msg
27 # define __typedef_Msg
28 typedef struct _struct_Msg
30 STACKULONG MethodID;
31 } *Msg;
32 #endif
34 #define ROOTCLASS "rootclass"
35 #define IMAGECLASS "imageclass"
36 #define FRAMEICLASS "frameiclass"
37 #define SYSICLASS "sysiclass"
38 #define FILLRECTCLASS "fillrectclass"
39 #define GADGETCLASS "gadgetclass"
40 #define PROPGCLASS "propgclass"
41 #define STRGCLASS "strgclass"
42 #define BUTTONGCLASS "buttongclass"
43 #define FRBUTTONCLASS "frbuttonclass"
44 #define GROUPGCLASS "groupgclass"
45 #define ICCLASS "icclass"
46 #define MODELCLASS "modelclass"
47 #define ITEXTICLASS "itexticlass"
48 #define POINTERCLASS "pointerclass"
50 /* public classes existing only in AROS but not AmigaOS */
51 #define MENUBARLABELCLASS "menubarlabelclass"
52 #define WINDECORCLASS "windecorclass"
53 #define SCRDECORCLASS "scrdecorclass"
54 #define MENUDECORCLASS "menudecorclass"
56 #define OM_Dummy 0x0100
57 #define OM_NEW (OM_Dummy + 1)
58 #define OM_DISPOSE (OM_Dummy + 2)
59 #define OM_SET (OM_Dummy + 3)
60 #define OM_GET (OM_Dummy + 4)
61 #define OM_ADDTAIL (OM_Dummy + 5)
62 #define OM_REMOVE (OM_Dummy + 6)
63 #define OM_NOTIFY (OM_Dummy + 7)
64 #define OM_UPDATE (OM_Dummy + 8)
65 #define OM_ADDMEMBER (OM_Dummy + 9)
66 #define OM_REMMEMBER (OM_Dummy + 10)
68 struct opSet
70 STACKULONG MethodID;
71 struct TagItem * ops_AttrList;
72 struct GadgetInfo * ops_GInfo;
75 struct opGet
77 STACKULONG MethodID;
78 Tag opg_AttrID;
79 IPTR * opg_Storage;
82 struct opAddTail
84 STACKULONG MethodID;
85 struct List * opat_List;
88 struct opUpdate
90 STACKULONG MethodID;
91 struct TagItem * opu_AttrList;
92 struct GadgetInfo * opu_GInfo;
93 STACKULONG opu_Flags; /* see below */
96 /* opu_Flags */
97 #define OPUF_INTERIM (1L<<0)
99 struct opMember
101 STACKULONG MethodID;
102 Object * opam_Object;
104 #define opAddMember opMember
106 #endif /* INTUITION_CLASSUSR_H */