4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@ecs.soton.ac.uk>.
11 typedef struct _MIME_type MIME_type
;
12 extern MIME_type text_plain
; /* Often used as a default type */
13 extern MIME_type special_directory
;
14 extern MIME_type special_pipe
;
15 extern MIME_type special_socket
;
16 extern MIME_type special_block_dev
;
17 extern MIME_type special_char_dev
;
18 extern MIME_type special_unknown
;
27 MaskedPixmap
*image
; /* NULL => not loaded yet */
28 time_t image_time
; /* When we loaded the image */
33 char *basetype_name(DirItem
*item
);
35 MIME_type
*type_from_path(char *path
);
36 gboolean
type_open(char *path
, MIME_type
*type
);
37 MaskedPixmap
*type_to_icon(MIME_type
*type
);
38 GdkAtom
type_to_atom(MIME_type
*type
);
39 char *type_ask_which_action(guchar
*media_type
, guchar
*subtype
);
40 MIME_type
*mime_type_from_base_type(int base_type
);