summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index d87ae13d7..d08540a9a 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -28,6 +28,7 @@
#include "signaller.h"
#include "dcpomatic_time.h"
#include "raw_convert.h"
+#include "user_property.h"
#include <libcxml/cxml.h>
#include <boost/filesystem.hpp>
#include <boost/signals2.hpp>
@@ -161,23 +162,6 @@ public:
boost::shared_ptr<const Film> film () const;
- class UserProperty
- {
- public:
- template <class T>
- UserProperty (std::string category_, std::string key_, T value_, std::string unit_ = "")
- : category (category_)
- , key (key_)
- , value (raw_convert<std::string> (value_))
- , unit (unit_)
- {}
-
- std::string category;
- std::string key;
- std::string value;
- std::string unit;
- };
-
std::list<UserProperty> user_properties () const;
boost::signals2::signal<void (boost::weak_ptr<Content>, int, bool)> Changed;