Merge branch 'prefs' of ssh://carlh.dyndns.org/home/carl/git/dcpomatic into prefs
[dcpomatic.git] / src / lib / ratio.h
index 6916a74912cdaa5c9c322312e867747b40d9f700..f3354f1b631c06bad6eda7073c1d75a57dc64866 100644 (file)
 
 */
 
+#ifndef DCPOMATIC_RATIO_H
+#define DCPOMATIC_RATIO_H
+
 #include <vector>
+#include <boost/utility.hpp>
 #include <libdcp/util.h>
 
-class Ratio
+class Ratio : public boost::noncopyable
 {
 public:
        Ratio (float ratio, std::string id, std::string n, std::string d)
@@ -30,8 +34,6 @@ public:
                , _dci_name (d)
        {}
 
-       libdcp::Size size (libdcp::Size) const;
-
        std::string id () const {
                return _id;
        }
@@ -64,3 +66,5 @@ private:
 
        static std::vector<Ratio const *> _ratios;      
 };
+
+#endif