config: fix build with external compiler by passing the sysroot where needed
[AROS.git] / arch / .unmaintained / morphos / Include / intuition / classusr.h
blobfaf983cc4382557ed474fd0c651ceb658f7a95f5
1 #ifndef INTUITION_CLASSUSR_H
2 #define INTUITION_CLASSUSR_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: BOOPSI users
9 Lang: english
12 #ifndef UTILITY_HOOKS_H
13 # include <utility/hooks.h>
14 #endif
15 #ifndef UTILITY_TAGITEM_H
16 # include <utility/tagitem.h>
17 #endif
19 /*#ifdef AROS_USE_OOP
20 # include <oop/oop.h>
21 #endif*/
23 /*#ifndef AROS_USE_OOP*/
24 # ifndef __typedef_Object
25 # define __typedef_Object
26 typedef ULONG Object;
27 # endif
28 /*#endif*/
30 #ifndef __typedef_ClassID
31 # define __typedef_ClassID
32 typedef UBYTE *ClassID;
33 #endif
35 /*#ifndef AROS_USE_OOP*/
36 # ifndef __typedef_Msg
37 # define __typedef_Msg
38 typedef struct
40 STACKULONG MethodID;
41 } *Msg;
42 # endif
43 /*#endif*/
45 #define ROOTCLASS "rootclass"
46 #define IMAGECLASS "imageclass"
47 #define FRAMEICLASS "frameiclass"
48 #define SYSICLASS "sysiclass"
49 #define FILLRECTCLASS "fillrectclass"
50 #define GADGETCLASS "gadgetclass"
51 #define PROPGCLASS "propgclass"
52 #define STRGCLASS "strgclass"
53 #define BUTTONGCLASS "buttongclass"
54 #define FRBUTTONCLASS "frbuttonclass"
55 #define GROUPGCLASS "groupgclass"
56 #define ICCLASS "icclass"
57 #define MODELCLASS "modelclass"
58 #define ITEXTICLASS "itexticlass"
59 #define POINTERCLASS "pointerclass"
61 /* public classes existing only in AROS but not AmigaOS */
62 #define MENUBARLABELCLASS "menubarlabelclass"
64 #define OM_Dummy 0x0100
65 #define OM_NEW (OM_Dummy + 1)
66 #define OM_DISPOSE (OM_Dummy + 2)
67 #define OM_SET (OM_Dummy + 3)
68 #define OM_GET (OM_Dummy + 4)
69 #define OM_ADDTAIL (OM_Dummy + 5)
70 #define OM_REMOVE (OM_Dummy + 6)
71 #define OM_NOTIFY (OM_Dummy + 7)
72 #define OM_UPDATE (OM_Dummy + 8)
73 #define OM_ADDMEMBER (OM_Dummy + 9)
74 #define OM_REMMEMBER (OM_Dummy + 10)
76 struct opSet
78 STACKULONG MethodID;
79 struct TagItem * ops_AttrList;
80 struct GadgetInfo * ops_GInfo;
83 struct opGet
85 STACKULONG MethodID;
86 Tag opg_AttrID;
87 IPTR * opg_Storage;
90 struct opAddTail
92 STACKULONG MethodID;
93 struct List * opat_List;
96 struct opUpdate
98 STACKULONG MethodID;
99 struct TagItem * opu_AttrList;
100 struct GadgetInfo * opu_GInfo;
101 STACKULONG opu_Flags; /* see below */
104 /* opu_Flags */
105 #define OPUF_INTERIM (1L<<0)
107 struct opMember
109 STACKULONG MethodID;
110 Object * opam_Object;
112 #define opAddMember opMember
114 #endif /* INTUITION_CLASSUSR_H */