diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-27 19:15:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-27 19:15:04 +0300 |
commit | 36c6674db35445d6c72f0f520b4abf9ef15b4da9 (patch) | |
tree | f42ad8dd480c57c3f3e18116dce19da9611d1316 /src/fs/virtfsdir.h | |
parent | 6388446b85e1fa5deccc6d5c1683fba88ef53d99 (diff) | |
download | manaverse-36c6674db35445d6c72f0f520b4abf9ef15b4da9.tar.gz manaverse-36c6674db35445d6c72f0f520b4abf9ef15b4da9.tar.bz2 manaverse-36c6674db35445d6c72f0f520b4abf9ef15b4da9.tar.xz manaverse-36c6674db35445d6c72f0f520b4abf9ef15b4da9.zip |
Add own base dir in VirtFsDir.
Diffstat (limited to 'src/fs/virtfsdir.h')
-rw-r--r-- | src/fs/virtfsdir.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/virtfsdir.h b/src/fs/virtfsdir.h index d090f5366..f528dad30 100644 --- a/src/fs/virtfsdir.h +++ b/src/fs/virtfsdir.h @@ -38,6 +38,7 @@ namespace VirtFsDir { VirtDirEntry *searchEntryByRoot(const std::string &restrict root); VirtDirEntry *searchEntryByPath(const std::string &restrict path); + const char *getBaseDir(); bool addToSearchPath(const std::string &newDir, const Append append); bool addToSearchPathSilent(const std::string &newDir, @@ -45,7 +46,7 @@ namespace VirtFsDir const SkipError skipError); bool removeFromSearchPath(std::string oldDir); bool removeFromSearchPathSilent(std::string oldDir); - void init(); + void init(const std::string &restrict name); void initFuncs(VirtFsFuncs *restrict const ptr); void deinit(); std::vector<VirtDirEntry*> &getEntries(); |