From 4a8bfd06e73d7f051f0b39e19e57616c7bbb8ad1 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 4 Jun 2018 21:05:27 -0400 Subject: New upstream version 2.1.1+dfsg --- src/lib/platform/MSWindowsUtil.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/platform/MSWindowsUtil.h') 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); }; -- cgit v1.2.3