6dcefeddf693d6ac11ba6e60e1c0803c3309ad15
[rodin/chimara.git] / src / fileref.h
1 #ifndef FILEREF_H
2 #define FILEREF_H
3
4 #include <gtk/gtk.h>
5 #include "glk.h"
6
7 struct glk_fileref_struct
8 {
9         glui32 rock;
10         /* Pointer to the list node in the global fileref list that contains this
11         fileref */
12         GList* fileref_list;
13         /* Fileref parameters */
14         gchar *filename; /* Always stored in the default filename encoding, not
15                 UTF8 or Latin-1 */
16         glui32 orig_filemode; /* Used to check if the user gets a fileref in read
17                 mode and then tries to open it in write mode */
18         glui32 usage;
19 };
20
21 #endif