summaryrefslogtreecommitdiff
path: root/src/fs/physfs/virtfsphys.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-09 03:31:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-09 03:31:42 +0300
commit612873fa462d74a31bdd3977dac7919376038275 (patch)
tree86c7ce3cb5a0d334bcba5d463846a88e03a8669e /src/fs/physfs/virtfsphys.h
parent8470d3c82d84a6bd7767de6763153aa9cdfb991b (diff)
downloadmanaverse-612873fa462d74a31bdd3977dac7919376038275.tar.gz
manaverse-612873fa462d74a31bdd3977dac7919376038275.tar.bz2
manaverse-612873fa462d74a31bdd3977dac7919376038275.tar.xz
manaverse-612873fa462d74a31bdd3977dac7919376038275.zip
Simplify add/remove dirs and zips methods in virtfs.
Diffstat (limited to 'src/fs/physfs/virtfsphys.h')
-rw-r--r--src/fs/physfs/virtfsphys.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/physfs/virtfsphys.h b/src/fs/physfs/virtfsphys.h
index 42394b56b..97b70aae6 100644
--- a/src/fs/physfs/virtfsphys.h
+++ b/src/fs/physfs/virtfsphys.h
@@ -50,12 +50,12 @@ namespace VirtFsPhys
VirtFile *openWrite(const std::string &restrict filename);
VirtFile *openAppend(const std::string &restrict filename);
bool setWriteDir(const std::string &restrict newDir);
- bool addDirToSearchPath(const std::string &restrict newDir,
- const Append append);
- bool removeDirFromSearchPath(const std::string &restrict oldDir);
- bool addZipToSearchPath(const std::string &restrict newDir,
- const Append append);
- bool removeZipFromSearchPath(const std::string &restrict oldDir);
+ bool mountDir(const std::string &restrict newDir,
+ const Append append);
+ bool unmountDir(const std::string &restrict oldDir);
+ bool mountZip(const std::string &restrict newDir,
+ const Append append);
+ bool unmountZip(const std::string &restrict oldDir);
std::string getRealDir(const std::string &restrict filename);
bool mkdir(const std::string &restrict dirName);
bool remove(const std::string &restrict filename);