Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / desktop / iconobserver.h
blob1aa52636f8eba2064482e6370cb648570c1b11ed
2 #ifndef ICONOBSERVERCLASS_H
3 # define ICONOBSERVERCLASS_H
5 # include "observer.h"
7 # define IO_Base TAG_USER+2100
9 # define IOM_Execute IO_Base+1
10 # define IOA_Selected IO_Base+2
11 # define IOA_Name IO_Base+3
12 # define IOA_Directory IO_Base+4
14 when this is changed, it updates the presentation's copy, also installs a
15 notify on the presentation's copy
17 # define IOA_Comment IO_Base+5
18 # define IOA_Script IO_Base+6
19 # define IOA_Pure IO_Base+7
20 # define IOA_Archived IO_Base+8
21 # define IOA_Readable IO_Base+9
22 # define IOA_Writeable IO_Base+10
23 # define IOA_Executable IO_Base+11
24 # define IOA_Deleteable IO_Base+12
26 struct IconObserverClassData
28 BOOL selected;
29 UBYTE *name,
30 *directory;
31 UBYTE *comment;
32 BOOL script,
33 pure,
34 archived,
35 readable,
36 writeable,
37 executable,
38 deleteable;
41 struct __dummyIconObsData__
43 struct MUI_NotifyData mnd;
44 struct ObserverClassData ocd;
45 struct IconObserverClassData icd;
48 # define iconObsData(obj) (&(((struct __dummyIconObsData__ *)(obj))->icd))
50 # define _name(obj) (iconObsData(obj)->name)
51 # define _directory(obj) (iconObsData(obj)->directory)
52 # define _iocomment(obj) (iconObsData(obj)->comment)
54 #endif