Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / desktop / abstracticon.h
blobb0ff73a0d35aeea8306e9f057a49101ca86b0284
1 /*
2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef ABSTRACTICON_H
7 #define ABSTRACTICON_H
9 #include <libraries/mui.h>
10 #include "presentation.h"
12 #define AIA_BASE TAG_USER+3400
14 #define AIA_Script AIA_BASE+1
15 #define AIA_Pure AIA_BASE+2
16 #define AIA_Archived AIA_BASE+3
17 #define AIA_Readable AIA_BASE+4
18 #define AIA_Writeable AIA_BASE+5
19 #define AIA_Executable AIA_BASE+6
20 #define AIA_Deleteable AIA_BASE+7
21 #define AIA_Comment AIA_BASE+8
23 struct AbstractIconClassData
25 BOOL script;
26 BOOL pure;
27 BOOL archived;
28 BOOL readable;
29 BOOL writeable;
30 BOOL executable;
31 BOOL deleteable;
32 UBYTE *comment;
35 struct __dummyAbstractIconData__
37 struct MUI_NotifyData mnd;
38 struct MUI_AreaData mad;
39 struct PresentationClassData pcd;
40 struct AbstractIconClassData aicd;
43 #define abstractIconData(obj) (&(((struct __dummyAbstractIconData__ *)(obj))->aicd))
45 #define _comment(obj) (abstractIconData(obj)->comment)
46 #define _script(obj) (abstractIconData(obj)->script)
47 #define _pure(obj) (abstractIconData(obj)->pure)
48 #define _archived(obj) (abstractIconData(obj)->archived)
49 #define _readable(obj) (abstractIconData(obj)->readable)
50 #define _writeable(obj) (abstractIconData(obj)->writeable)
51 #define _executable(obj) (abstractIconData(obj)->executable)
52 #define _deleteable(obj) (abstractIconData(obj)->deleteable)
54 #endif