summaryrefslogtreecommitdiff
path: root/src/lib/isdcf_metadata.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-10 15:33:26 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-10 15:33:26 +0100
commite7bc3bd16456c17bc6fe1d7981040b14e820505e (patch)
treecd37e3bbaceb58206a9b9286d54946e7835d6af7 /src/lib/isdcf_metadata.h
parent2b2c655fd39fbdae9f6298c3bde171da126dc470 (diff)
Use ISDCF rather than DCI when talking about the digital cinema
naming convention (#362). Reported-by: Mattias Mattsson
Diffstat (limited to 'src/lib/isdcf_metadata.h')
-rw-r--r--src/lib/isdcf_metadata.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/lib/isdcf_metadata.h b/src/lib/isdcf_metadata.h
new file mode 100644
index 000000000..cd63ba2ee
--- /dev/null
+++ b/src/lib/isdcf_metadata.h
@@ -0,0 +1,52 @@
+/*
+ Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#ifndef DCPOMATIC_ISDCF_METADATA_H
+#define DCPOMATIC_ISDCF_METADATA_H
+
+#include <string>
+#include <libxml++/libxml++.h>
+
+namespace cxml {
+ class Node;
+}
+
+class ISDCFMetadata
+{
+public:
+ ISDCFMetadata ()
+ : content_version (1)
+ {}
+
+ ISDCFMetadata (boost::shared_ptr<const cxml::Node>);
+
+ void as_xml (xmlpp::Node *) const;
+ void read_old_metadata (std::string, std::string);
+
+ int content_version;
+ std::string audio_language;
+ std::string subtitle_language;
+ std::string territory;
+ std::string rating;
+ std::string studio;
+ std::string facility;
+ std::string package_type;
+};
+
+#endif