blob: 68bc7a417df43fa859360a7a6321ab0b84b5f138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "content-type-v1.hpp"
#include <cstdint>
namespace NContentType {
enum eContentType : uint8_t {
CONTENT_TYPE_NONE = 0,
CONTENT_TYPE_PHOTO = 1,
CONTENT_TYPE_VIDEO = 2,
CONTENT_TYPE_GAME = 3,
};
eContentType fromString(const std::string name);
std::string toString(eContentType);
eContentType fromWP(wpContentTypeV1Type contentType);
uint16_t toDRM(eContentType contentType);
}
|