Reformat crop controls.
[dcpomatic.git] / src / lib / video_content_scale.h
index 1054234bc0d5a01edc0fff213a15c72c397c2fbf..845c71a52f5106616b2b2c4f53a373041947032b 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -40,9 +40,9 @@ class VideoContentScale
 {
 public:
        VideoContentScale ();
-       VideoContentScale (Ratio const *);
-       VideoContentScale (bool);
-       VideoContentScale (boost::shared_ptr<cxml::Node>);
+       explicit VideoContentScale (Ratio const *);
+       explicit VideoContentScale (bool);
+       explicit VideoContentScale (boost::shared_ptr<cxml::Node>);
 
        dcp::Size size (boost::shared_ptr<const VideoContent>, dcp::Size display_container, dcp::Size film_container) const;
        std::string id () const;
@@ -61,7 +61,6 @@ public:
        static std::vector<VideoContentScale> all () {
                return _scales;
        }
-       static VideoContentScale from_id (std::string id);
 
 private:
        /** a ratio to stretch the content to, or 0 for no stretch */