summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-30 22:03:25 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-30 22:03:25 +0100
commit34a25d89b16a33b5f619ae0eaaa03c17f93980af (patch)
tree9a1778042b027bbf71256f7ce855157d913fb6c1 /src/cpl.cc
parent25771018926d71d9312f216238d6a33a8892a748 (diff)
Hacks.
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
new file mode 100644
index 00000000..1eba666c
--- /dev/null
+++ b/src/cpl.cc
@@ -0,0 +1,16 @@
+#include "cpl.h"
+
+CPL::CPL (string file)
+{
+ file_is (file);
+
+ _id = string_tag ("Id");
+ _annotation_text = string_tag ("AnnotationText");
+ _issue_date = string_tag ("IssueDate");
+ _creator = string_tag ("Creator");
+ _content_title_text = string_tag ("ContentTitleText");
+ _content_kind = kind_tag ("ContentKind");
+ _content_version = sub (new ContentVersion, "ContentVersion");
+ ignore ("RatingList");
+ _reel_list = sub (new ReelList, "ReelList");
+}