PrivMX Endpoint v2.8.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
21namespace ThreadDataSchema {
22enum Version : int64_t {
23 UNKNOWN = 0,
24 VERSION_1 = 1,
25 VERSION_4 = 4,
26 VERSION_5 = 5
27};
28} // namespace ThreadDataSchema
29constexpr static ThreadDataSchema::Version CURRENT_THREAD_DATA_SCHEMA_VERSION = ThreadDataSchema::Version::VERSION_5;
30
31namespace MessageDataSchema {
32enum Version : int64_t {
33 UNKNOWN = 0,
34 VERSION_2 = 2,
35 VERSION_3 = 3,
36 VERSION_4 = 4,
37 VERSION_5 = 5
38};
39} // namespace MessageDataSchema
40constexpr static MessageDataSchema::Version CURRENT_MESSAGE_DATA_SCHEMA_VERSION = MessageDataSchema::Version::VERSION_5;
41
42} // namespace thread
43} // namespace endpoint
44} // namespace privmx
45
46#endif // #define _PRIVMXLIB_ENDPOINT_THREAD_CONSTANTS_HPP_