summaryrefslogtreecommitdiff
path: root/src/fs/virtfsdir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfsdir.h')
-rw-r--r--src/fs/virtfsdir.h3
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();