summaryrefslogtreecommitdiff
path: root/src/fs/virtfs.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/virtfs.h
parent8470d3c82d84a6bd7767de6763153aa9cdfb991b (diff)
downloadplus-612873fa462d74a31bdd3977dac7919376038275.tar.gz
plus-612873fa462d74a31bdd3977dac7919376038275.tar.bz2
plus-612873fa462d74a31bdd3977dac7919376038275.tar.xz
plus-612873fa462d74a31bdd3977dac7919376038275.zip
Simplify add/remove dirs and zips methods in virtfs.
Diffstat (limited to 'src/fs/virtfs.h')
-rw-r--r--src/fs/virtfs.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/fs/virtfs.h b/src/fs/virtfs.h
index f27afac67..0b0a4b5d3 100644
--- a/src/fs/virtfs.h
+++ b/src/fs/virtfs.h
@@ -46,15 +46,15 @@ namespace VirtFs
VirtFile *openWrite(std::string filename);
VirtFile *openAppend(std::string filename);
bool setWriteDir(const std::string &restrict newDir);
- bool addDirToSearchPath(std::string newDir,
- const Append append);
- bool addDirToSearchPathSilent(std::string newDir,
- const Append append);
- bool removeDirFromSearchPath(std::string oldDir);
- bool removeDirFromSearchPathSilent(std::string oldDir);
- bool addZipToSearchPath(std::string newDir,
- const Append append);
- bool removeZipFromSearchPath(std::string oldDir);
+ bool mountDir(std::string newDir,
+ const Append append);
+ bool mountDirSilent(std::string newDir,
+ const Append append);
+ bool unmountDir(std::string oldDir);
+ bool unmountDirSilent(std::string oldDir);
+ bool mountZip(std::string newDir,
+ const Append append);
+ bool unmountZip(std::string oldDir);
std::string getRealDir(std::string filename);
bool mkdir(const std::string &restrict dirName);
bool remove(const std::string &restrict filename);