X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=blobdiff_plain;f=src%2Ffs.h;h=4174bb16cb321e6d418ee1ff7d35aaffd711a567;hp=0eb72edf7425ff56061e6014d716a2f41288599a;hb=1c2b18e725db9e066d5dcb11123fc2019aec2ee7;hpb=eca943b2fb891a01cb4e883c07aad2167a8ac94b diff --git a/src/fs.h b/src/fs.h index 0eb72ed..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,6 +17,8 @@ class FSNode { public: FSNodeType type; FSPath path; + std::string short_name; + std::vector name_lines; size_t size; FSNode *parent; @@ -27,7 +30,7 @@ public: bool expand(); }; -bool init_fs(); +bool init_fs(const char *path = 0); void cleanup_fs(); void draw_fs();