X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=blobdiff_plain;f=src%2Ffs.h;h=4174bb16cb321e6d418ee1ff7d35aaffd711a567;hp=6c7b4069ea377aa7b19a1a3b33dfbd54300312be;hb=1c2b18e725db9e066d5dcb11123fc2019aec2ee7;hpb=dfbd5842ef2f270e7d83507c4ba7bed005eea780 diff --git a/src/fs.h b/src/fs.h index 6c7b406..4174bb1 100644 --- a/src/fs.h +++ b/src/fs.h @@ -1,8 +1,9 @@ #ifndef FS_H_ #define FS_H_ -#include #include +#include +#include #include "fspath.h" enum FSNodeType { @@ -16,17 +17,20 @@ class FSNode { public: FSNodeType type; FSPath path; + std::string short_name; + std::vector name_lines; size_t size; FSNode *parent; std::vector children; + int nfiles, ndirs; FSNode(); bool expand(); }; -bool init_fs(); +bool init_fs(const char *path = 0); void cleanup_fs(); void draw_fs();