adding fs and icon renderers
[vrfileman] / src / fs.h
diff --git a/src/fs.h b/src/fs.h
new file mode 100644 (file)
index 0000000..d58c621
--- /dev/null
+++ b/src/fs.h
@@ -0,0 +1,20 @@
+#ifndef FS_H_
+#define FS_H_
+
+enum FSNodeType {
+       FSNODE_UNKNOWN,
+       FSNODE_FILE,
+       FSNODE_DIR,
+       FSNODE_DEV
+};
+
+class FSNode {
+public:
+       FSNodeType type;
+       char *abs_path;
+       char *name, *suffix;
+
+       void set_path(const char *s);
+};
+
+#endif // FS_H_