aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/platform/MSWindowsUtil.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2018-06-04 21:05:27 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2018-06-04 21:05:27 -0400
commit4a8bfd06e73d7f051f0b39e19e57616c7bbb8ad1 (patch)
tree1a3981909d67b90e8042f9c615574af165f155b6 /src/lib/platform/MSWindowsUtil.h
parent9b1b081cfdb1c0fb6457278775e0823f8bc10f62 (diff)
New upstream version 2.1.1+dfsgupstream/2.1.1+dfsg
Diffstat (limited to 'src/lib/platform/MSWindowsUtil.h')
-rw-r--r--src/lib/platform/MSWindowsUtil.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/platform/MSWindowsUtil.h b/src/lib/platform/MSWindowsUtil.h
index 95ec2cf..29eef2e 100644
--- a/src/lib/platform/MSWindowsUtil.h
+++ b/src/lib/platform/MSWindowsUtil.h
@@ -37,4 +37,11 @@ public:
found return the string for \p id, replacing ${1} with \p error.
*/
static String getErrorString(HINSTANCE, DWORD error, DWORD id);
+
+ //! Create directory
+ /*!
+ Create directory \p recursively optionally stripping the last component
+ (presumably the filename) if \p is set.
+ */
+ static void createDirectory(const std::string& path, bool stripLast = false);
};