4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
8 /* global.h is included by most of the other source files, just after
9 * including config.h and the system header files, but before any other
10 * ROX-Filer header files.
15 /* We typedef various pointers here to avoid creating unnecessary
16 * dependencies on the other header files.
19 /* Each filer window has one of these all to itself */
20 typedef struct _FilerWindow FilerWindow
;
22 /* There is one Directory object per cached disk directory inode number.
23 * Multiple FilerWindows may share a single directory. Directories
24 * are cached, so a Directories may exist without any filer windows
25 * referencing it at all.
27 typedef struct _Directory Directory
;
29 /* Each item in a directory has a DirItem. The contains information from
30 * stat()ing the file, plus a few other bits. There may be several of these
31 * for a single file, if it appears (hard-linked) in several directories.
33 typedef struct _DirItem DirItem
;
35 /* This contains pixmaps and masks for an image, and (sometimes) a
38 typedef struct _MaskedPixmap MaskedPixmap
;
40 /* Each MIME type (eg 'text/plain') has one of these. It contains
41 * a link to the image and the type's name (used so that the image can
42 * be refreshed, amoung other things).
44 typedef struct _MIME_type MIME_type
;
46 /* There will be one of these if the pinboard is in use. It contains
47 * the name of the pinboard and links to the pinned items inside.
49 typedef struct _Pinboard Pinboard
;
51 /* Each icon on the pinboard has a PinIcon structure. It contains the
52 * name, path and position of the icon, as well as its DirItem.
54 typedef struct _PinIcon PinIcon
;