Some missing copy constructors / operator= / noncopyable.
[dcpomatic.git] / src / lib / config.h
index 110bcc6a8de5dabbd3aa9a19110f60cb0b200403..38664f093f33d79235c7cdb333ac8333d5196afe 100644 (file)
@@ -65,14 +65,6 @@ public:
                return _servers;
        }
 
-       Scaler const * reference_scaler () const {
-               return _reference_scaler;
-       }
-
-       std::vector<Filter const *> reference_filters () const {
-               return _reference_filters;
-       }
-
        /** @return The IP address of a TMS that we can copy DCPs to */
        std::string tms_ip () const {
                return _tms_ip;
@@ -126,6 +118,10 @@ public:
                return _dcp_metadata;
        }
 
+       int default_j2k_bandwidth () const {
+               return _default_j2k_bandwidth;
+       }
+
        /** @param n New number of local encoding threads */
        void set_num_local_encoding_threads (int n) {
                _num_local_encoding_threads = n;
@@ -204,6 +200,10 @@ public:
        void set_dcp_metadata (libdcp::XMLMetadata m) {
                _dcp_metadata = m;
        }
+
+       void set_default_j2k_bandwidth (int b) {
+               _default_j2k_bandwidth = b;
+       }
        
        void write () const;
 
@@ -247,6 +247,7 @@ private:
        Ratio const * _default_container;
        DCPContentType const * _default_dcp_content_type;
        libdcp::XMLMetadata _dcp_metadata;
+       int _default_j2k_bandwidth;
 
        /** Singleton instance, or 0 */
        static Config* _instance;