#include <string>
#include <vector>
+#include <libdcp/dcp.h>
/** @class DCPContentType
* @brief A description of the type of content for a DCP (e.g. feature, trailer etc.)
class DCPContentType
{
public:
- DCPContentType (std::string, std::string);
+ DCPContentType (std::string, libdcp::ContentKind, std::string);
/** @return user-visible `pretty' name */
std::string pretty_name () const {
return _pretty_name;
}
- /** @return name as written to a DCP */
- std::string dcp_name () const {
- return _dcp_name;
+ libdcp::ContentKind libdcp_kind () const {
+ return _libdcp_kind;
+ }
+
+ std::string dci_name () const {
+ return _dci_name;
}
static DCPContentType const * from_pretty_name (std::string);
private:
std::string _pretty_name;
- std::string _dcp_name;
+ libdcp::ContentKind _libdcp_kind;
+ std::string _dci_name;
/** All available DCP content types */
static std::vector<DCPContentType const *> _dcp_content_types;