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_INBOX_CONSTANTS_HPP_
13
#define _PRIVMXLIB_ENDPOINT_INBOX_CONSTANTS_HPP_
14
15
#include <cstdint>
16
17
namespace
privmx {
18
namespace
endpoint {
19
namespace
inbox {
20
21
namespace
InboxDataSchema {
22
enum
Version : int64_t {
23
UNKNOWN = 0,
24
VERSION_4 = 4,
25
VERSION_5 = 5
26
};
27
}
28
constexpr
static
InboxDataSchema::Version CURRENT_INBOX_DATA_SCHEMA_VERSION = InboxDataSchema::Version::VERSION_5;
29
30
namespace
EntryDataSchema {
31
enum
Version : int64_t {
32
UNKNOWN = 0,
33
VERSION_1 = 1
34
};
35
}
36
constexpr
static
EntryDataSchema::Version CURRENT_ENTRY_DATA_SCHEMA_VERSION = EntryDataSchema::Version::VERSION_1;
37
38
}
// namespace inbox
39
}
// namespace endpoint
40
}
// namespace privmx
41
42
43
44
#endif
// #define _PRIVMXLIB_ENDPOINT_INBOX_CONSTANTS_HPP_
45
privmx
endpoint
inbox
Constants.hpp