From fa369ef1db0e9f68fdc0145f86ce15446a750af5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 12 Apr 2016 16:13:46 +0100 Subject: Move UserProperty into its own file. --- src/lib/content.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/lib/content.h') 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 #include #include @@ -161,23 +162,6 @@ public: boost::shared_ptr film () const; - class UserProperty - { - public: - template - UserProperty (std::string category_, std::string key_, T value_, std::string unit_ = "") - : category (category_) - , key (key_) - , value (raw_convert (value_)) - , unit (unit_) - {} - - std::string category; - std::string key; - std::string value; - std::string unit; - }; - std::list user_properties () const; boost::signals2::signal, int, bool)> Changed; -- cgit v1.2.3