diff options
Diffstat (limited to 'src/common/utils.h')
-rw-r--r-- | src/common/utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/common/utils.h b/src/common/utils.h index 6bf5fd4..592728a 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -36,6 +36,18 @@ constexpr auto secret() { return USP_AUTH_KEY; } //! Base server URL defined during building constexpr auto serverUrl() { return USP_SERVER_URL; } +/*! Data scheme version for the JSON document + * + * Should be changed if you change the output data format, + * for example, change a key or add a new data source. + */ +struct DocumentVersion +{ + int major = 1; + int minor = 0; + int patch = 0; +}; + } // namespace Utils } // namespace Internal } // namespace UsageStatistic |