Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / include / intuition / classusr.h
blobde4b922d881cec3e9dbb7d3ba096e38a46b5e4f5
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"
55 #define OM_Dummy 0x0100
56 #define OM_NEW (OM_Dummy + 1)
57 #define OM_DISPOSE (OM_Dummy + 2)
58 #define OM_SET (OM_Dummy + 3)
59 #define OM_GET (OM_Dummy + 4)
60 #define OM_ADDTAIL (OM_Dummy + 5)
61 #define OM_REMOVE (OM_Dummy + 6)
62 #define OM_NOTIFY (OM_Dummy + 7)
63 #define OM_UPDATE (OM_Dummy + 8)
64 #define OM_ADDMEMBER (OM_Dummy + 9)
65 #define OM_REMMEMBER (OM_Dummy + 10)
67 struct opSet
69 STACKULONG MethodID;
70 struct TagItem * ops_AttrList;
71 struct GadgetInfo * ops_GInfo;
74 struct opGet
76 STACKULONG MethodID;
77 Tag opg_AttrID;
78 IPTR * opg_Storage;
81 struct opAddTail
83 STACKULONG MethodID;
84 struct List * opat_List;
87 struct opUpdate
89 STACKULONG MethodID;
90 struct TagItem * opu_AttrList;
91 struct GadgetInfo * opu_GInfo;
92 STACKULONG opu_Flags; /* see below */
95 /* opu_Flags */
96 #define OPUF_INTERIM (1L<<0)
98 struct opMember
100 STACKULONG MethodID;
101 Object * opam_Object;
103 #define opAddMember opMember
105 #endif /* INTUITION_CLASSUSR_H */