diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-03-06 15:16:43 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:38:24 +0300 |
commit | 21d8c2650fcedb1e0babbb8fb6cbd8c2edc09082 (patch) | |
tree | 60021afc4e63c2480c78f26e806ad700562e288d /platform/platform.hpp | |
parent | c30ae8eab34ab5de5e7684400f5e9032fa8f3736 (diff) |
Mkdir platfom method
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r-- | platform/platform.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp index 6605e7b852..447886c671 100644 --- a/platform/platform.hpp +++ b/platform/platform.hpp @@ -66,6 +66,9 @@ public: /// @return resource dir (on some platforms it's differ from Writable dir) string ResourcesDir() const { return m_resourcesDir; } + /// Creates directory at filesystem + void MkDir(string const & directory_name) const; + /// @return path for directory with temporary files with slash at the end string TmpDir() const { return m_tmpDir; } /// @return full path to file in the temporary directory |