PrivMX
DOCS
PrivMX Endpoint
v2.8.0
v2.8.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
namespace
ThreadDataSchema {
22
enum
Version : int64_t {
23
UNKNOWN = 0,
24
VERSION_1 = 1,
25
VERSION_4 = 4,
26
VERSION_5 = 5
27
};
28
}
// namespace ThreadDataSchema
29
constexpr
static
ThreadDataSchema::Version CURRENT_THREAD_DATA_SCHEMA_VERSION = ThreadDataSchema::Version::VERSION_5;
30
31
namespace
MessageDataSchema {
32
enum
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
40
constexpr
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_
privmx
endpoint
thread
Constants.hpp