aboutsummaryrefslogtreecommitdiff
path: root/src/system-stats/common.h
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahm@jadupc.com>2023-11-02 14:21:18 +0600
committerLibravatar Mubashshir <ahm@jadupc.com>2023-11-02 14:21:55 +0600
commit9968379aee5be5b5875ac7732c52e59059f30a0e (patch)
treef4c86a3d57d1b2da90b9ff4cce7461d4ced42984 /src/system-stats/common.h
parentda6cbb7099161c6562d127e3b3e268eb229a9c46 (diff)
downloadshopno-os-log-sync-9968379aee5be5b5875ac7732c52e59059f30a0e.tar.gz
shopno-os-log-sync-9968379aee5be5b5875ac7732c52e59059f30a0e.zip
Bump logger version for breaking changes
Signed-off-by: Mubashshir <ahm@jadupc.com>
Diffstat (limited to 'src/system-stats/common.h')
-rw-r--r--src/system-stats/common.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/system-stats/common.h b/src/system-stats/common.h
index 230690d..08aceca 100644
--- a/src/system-stats/common.h
+++ b/src/system-stats/common.h
@@ -3,9 +3,12 @@
#include <fstream>
#include <functional>
#include <filesystem>
-
-#define APP_VERSION "2.2"
#define APP_NAME "system-stats"
+#define APP_MAJOR 3
+#define APP_MINOR 0
+
+#define VERSION_STRING(MAJOR, MINOR) #MAJOR "." #MINOR
+#define APP_VERSION VERSION_STRING(APP_MAJOR, APP_MINOR)
using refstream = std::reference_wrapper<std::ostream>;