Use the new timestamp API.
[gliv.git] / src / include / tree.h
blob83641faa8f94cdbab78ac04a0e7857e0d6804234
1 #ifndef TREE_H
2 #define TREE_H
4 #include "gliv.h"
5 #include "timestamp.h"
7 typedef struct {
8 gchar *name; /* Displayed name. */
9 gchar *path; /* Associated filename, 'const' on a leaf. */
10 gchar *thumb_key; /* Key for the hash-table. */
11 GdkPixbuf *thumb; /* Thumbnail. */
12 } tree_item;
14 void end_using_tree(void);
15 void cancel_using_tree(void);
16 gboolean canceled_using_tree(void);
17 gboolean last_tree_ok(timestamp_t menu_timestamp);
18 GNode *make_tree(void);
19 void destroy_tree(GNode * tree);
20 void invalidate_last_tree(void);
22 #endif