summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h25
1 files changed, 6 insertions, 19 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 828a6e75..9407c9c7 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -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 */