PrivMX
DOCS
PrivMX Endpoint
v2.7.0
v2.7.0
Loading...
Searching...
No Matches
Constants.hpp
1
/*
2
PrivMX Endpoint.
3
Copyright © 2024 Simplito sp. z o.o.
4
5
This file is part of the PrivMX Platform (https://privmx.dev).
6
This software is Licensed under the PrivMX Free License.
7
8
See the License for the specific language governing permissions and
9
limitations under the License.
10
*/
11
12
#ifndef _PRIVMXLIB_ENDPOINT_THREAD_CONSTANTS_HPP_
13
#define _PRIVMXLIB_ENDPOINT_THREAD_CONSTANTS_HPP_
14
15
#include <cstdint>
16
17
namespace
privmx {
18
namespace
endpoint {
19
namespace
thread {
20
21
22
namespace
ThreadDataSchema {
23
enum
Version : int64_t {
24
UNKNOWN = 0,
25
VERSION_1 = 1,
26
VERSION_4 = 4,
27
VERSION_5 = 5
28
};
29
}
30
constexpr
static
ThreadDataSchema::Version CURRENT_THREAD_DATA_SCHEMA_VERSION = ThreadDataSchema::Version::VERSION_5;
31
32
33
namespace
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
}
42
constexpr
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
privmx
endpoint
thread
Constants.hpp