summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorAnyOldName3 <krizdjali+github@gmail.com>2018-05-16 00:42:31 +0100
committerAnyOldName3 <krizdjali+github@gmail.com>2018-05-16 00:42:31 +0100
commit15db1b76f72a7dd88dbb84df42951c57dfe9917e (patch)
tree15ca68323f7679e5f508df94dd46b4329c21b47f /src/shared/util.h
parent75e6c72ae4132ae4d71f5f04f666f5e33c17d1d3 (diff)
Move improved version parsing to util.h and use it everywhere.
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 75c382a7..1fdfb089 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -25,6 +25,8 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
+#include <versioninfo.h>
+
namespace MOShared {
/// Test if a file (or directory) by the specified name exists
@@ -46,6 +48,7 @@ bool CaseInsensitiveEqual(const std::wstring &lhs, const std::wstring &rhs);
VS_FIXEDFILEINFO GetFileVersion(const std::wstring &fileName);
std::wstring GetFileVersionString(const std::wstring &fileName);
+MOBase::VersionInfo createVersionInfo();
} // namespace MOShared