added basic version fetching

This commit is contained in:
fourtf
2018-04-19 22:16:55 +02:00
parent fc78fa23a2
commit 683c4aed2d
4 changed files with 96 additions and 2 deletions
+10
View File
@@ -1,3 +1,13 @@
#pragma once
#include <QtGlobal>
#define CHATTERINO_VERSION "2.0.0"
#if defined(Q_OS_WIN)
#define CHATTERINO_OS "win"
#elif defined(Q_OS_MACOS)
#define CHATTERINO_OS "macos"
#elif defined(Q_OS_LINUX)
#define CHATTERINO_OS "linux"
#endif