diff options
Diffstat (limited to 'src/content_kind.h')
| -rw-r--r-- | src/content_kind.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/content_kind.h b/src/content_kind.h index 08aa17b4..39872fea 100644 --- a/src/content_kind.h +++ b/src/content_kind.h @@ -47,10 +47,19 @@ namespace dcp { class ContentKind { public: + ContentKind(std::string name, boost::optional<std::string> scope) + : _name(name) + , _scope(scope) + {} + std::string name() const { return _name; } + boost::optional<std::string> scope() const { + return _scope; + } + static const ContentKind FEATURE; static const ContentKind SHORT; static const ContentKind TRAILER; @@ -61,8 +70,12 @@ public: static const ContentKind POLICY; static const ContentKind PUBLIC_SERVICE_ANNOUNCEMENT; static const ContentKind ADVERTISEMENT; - static const ContentKind EPISODE; + static const ContentKind CLIP; static const ContentKind PROMO; + static const ContentKind STEREOCARD; + static const ContentKind EPISODE; + static const ContentKind HIGHLIGHTS; + static const ContentKind EVENT; static ContentKind from_name(std::string name); static std::vector<ContentKind> all(); @@ -73,6 +86,7 @@ private: {} std::string _name; + boost::optional<std::string> _scope; }; |
