diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-30 22:03:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-30 22:03:25 +0100 |
| commit | 34a25d89b16a33b5f619ae0eaaa03c17f93980af (patch) | |
| tree | 9a1778042b027bbf71256f7ce855157d913fb6c1 /src/dcp.h | |
| parent | 25771018926d71d9312f216238d6a33a8892a748 (diff) | |
Hacks.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 25 |
1 files changed, 6 insertions, 19 deletions
@@ -30,6 +30,10 @@ #include <sigc++/sigc++.h> #include "types.h" +namespace xmlpp { + class Node; +} + /** @brief Namespace for everything in libdcp */ namespace libdcp { @@ -43,20 +47,6 @@ class Asset; class DCP { public: - enum ContentType - { - FEATURE, - SHORT, - TRAILER, - TEST, - TRANSITIONAL, - RATING, - TEASER, - POLICY, - PUBLIC_SERVICE_ANNOUNCEMENT, - ADVERTISEMENT - }; - /** Construct a DCP. * @param directory Directory to write files to. * @param name Name. @@ -66,6 +56,8 @@ public: */ DCP (std::string directory, std::string name, ContentType content_type, int fps, int length); + DCP (std::string directory); + /** Add a sound asset. * @param files Pathnames of WAV files to use in the order Left, Right, * Centre, Lfe (sub), Left surround, Right surround; not all files need @@ -130,11 +122,6 @@ private: */ void write_assetmap (std::string cpl_uuid, int cpl_length, std::string pkl_uuid, int pkl_length) const; - /** @param type A content type. - * @return A string representation suitable for use in a CPL. - */ - static std::string content_type_string (ContentType type); - /** the directory that we are writing to */ std::string _directory; /** the name of the DCP */ |
