#ifndef FS_H_
#define FS_H_
-#include <vector>
#include <stdlib.h>
+#include <vector>
+#include <string>
#include "fspath.h"
enum FSNodeType {
public:
FSNodeType type;
FSPath path;
+ std::string short_name;
+ std::vector<std::string> name_lines;
size_t size;
FSNode *parent;
std::vector<FSNode*> children;
+ int nfiles, ndirs;
FSNode();
bool expand();
};
-bool init_fs();
+bool init_fs(const char *path = 0);
void cleanup_fs();
void draw_fs();