-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.h
More file actions
31 lines (23 loc) · 855 Bytes
/
release.h
File metadata and controls
31 lines (23 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Copyright (C) 2025 James C. Owens
*
* This code is licensed under the MIT license. See LICENSE.md in the repository.
*/
#ifndef RELEASE_H
#define RELEASE_H
#include <string>
// release.h (Alternative)
#define IDLE_DETECT_VERSION_MAJOR 0
#define IDLE_DETECT_VERSION_MINOR 8
#define IDLE_DETECT_VERSION_PATCH 3
#define IDLE_DETECT_VERSION_TWEAK 0
#define ID__STRINGIFY(x) #x
#define ID_STRINGIFY(x) ID__STRINGIFY(x)
#define IDLE_DETECT_VERSION_STRING \
ID_STRINGIFY(IDLE_DETECT_VERSION_MAJOR) "." \
ID_STRINGIFY(IDLE_DETECT_VERSION_MINOR) "." \
ID_STRINGIFY(IDLE_DETECT_VERSION_PATCH) "." \
ID_STRINGIFY(IDLE_DETECT_VERSION_TWEAK)
const std::string g_version_datetime = "20250810";
const std::string g_version = std::string("version ") + std::string(IDLE_DETECT_VERSION_STRING) + " - " + g_version_datetime;
#endif // RELEASE_H