Remove C++11'ism
[ardour.git] / libs / ardour / ardour / gain_control.h
index c902cde00162a432dd646b68900f9bc7c57e2327..a2644582cef69d20a39e01bb21059432bcfd9344 100644 (file)
@@ -39,18 +39,11 @@ class LIBARDOUR_API GainControl : public SlavableAutomationControl {
        GainControl (Session& session, const Evoral::Parameter &param,
                     boost::shared_ptr<AutomationList> al = boost::shared_ptr<AutomationList>());
 
-       double internal_to_interface (double) const;
-       double interface_to_internal (double) const;
-       double internal_to_user (double) const;
-       double user_to_internal (double) const;
-       std::string get_user_string () const;
-
-       bool get_masters_curve_locked (framepos_t, framepos_t, float*, framecnt_t) const;
-
-       double lower_db;
-       double range_db;
-
        void inc_gain (gain_t);
+
+protected:
+       void post_add_master (boost::shared_ptr<AutomationControl>);
+       bool get_masters_curve_locked (samplepos_t, samplepos_t, float*, samplecnt_t) const;
 };
 
 } /* namespace */