config file
[vrfileman] / src / fs.h
1 #ifndef FS_H_
2 #define FS_H_
3
4 enum FSNodeType {
5         FSNODE_UNKNOWN,
6         FSNODE_FILE,
7         FSNODE_DIR,
8         FSNODE_DEV
9 };
10
11 class FSNode {
12 public:
13         FSNodeType type;
14         char *abs_path;
15         char *name, *suffix;
16
17         FSNode();
18         ~FSNode();
19
20         void set_path(const char *s);
21 };
22
23 bool init_fs();
24 void cleanup_fs();
25
26 void draw_fs();
27
28 #endif  // FS_H_