PrivMX Endpoint v2.7.0
Loading...
Searching...
No Matches
Constants.hpp
1/*
2PrivMX Endpoint.
3Copyright © 2024 Simplito sp. z o.o.
4
5This file is part of the PrivMX Platform (https://privmx.dev).
6This software is Licensed under the PrivMX Free License.
7
8See the License for the specific language governing permissions and
9limitations under the License.
10*/
11
12#ifndef _PRIVMXLIB_ENDPOINT_THREAD_CONSTANTS_HPP_
13#define _PRIVMXLIB_ENDPOINT_THREAD_CONSTANTS_HPP_
14
15#include <cstdint>
16
17namespace privmx {
18namespace endpoint {
19namespace thread {
20
21
22namespace ThreadDataSchema {
23 enum Version : int64_t {
24 UNKNOWN = 0,
25 VERSION_1 = 1,
26 VERSION_4 = 4,
27 VERSION_5 = 5
28 };
29}
30constexpr static ThreadDataSchema::Version CURRENT_THREAD_DATA_SCHEMA_VERSION = ThreadDataSchema::Version::VERSION_5;
31
32
33namespace MessageDataSchema {
34 enum Version : int64_t {
35 UNKNOWN = 0,
36 VERSION_2 = 2,
37 VERSION_3 = 3,
38 VERSION_4 = 4,
39 VERSION_5 = 5
40 };
41}
42constexpr static MessageDataSchema::Version CURRENT_MESSAGE_DATA_SCHEMA_VERSION = MessageDataSchema::Version::VERSION_5;
43
44} // namespace thread
45} // namespace endpoint
46} // namespace privmx
47
48
49
50#endif // #define _PRIVMXLIB_ENDPOINT_THREAD_CONSTANTS_HPP_
51