Remove unused can_send_feedback API.
authorDavid Robillard <d@drobilla.net>
Mon, 29 Sep 2008 02:02:24 +0000 (02:02 +0000)
committerDavid Robillard <d@drobilla.net>
Mon, 29 Sep 2008 02:02:24 +0000 (02:02 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@3827 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/panner.h
libs/ardour/panner.cc
libs/pbd/pbd/controllable.h

index fb8048e7ef9f8b0731338d566dc5f593bdd65388..6cd3b0755d3286b9f712852ee46e1911919da603 100644 (file)
@@ -114,7 +114,6 @@ class StreamPanner : public sigc::trackable, public PBD::Stateful
            
            void set_value (float);
            float get_value (void) const;
-           bool can_send_feedback() const;
        };
 
        boost::shared_ptr<PanControllable> _control;
index b89c021042346113ca3b0f153f69419b4d473294..a0c85d35f6c9121615f17147091a96497432f847 100644 (file)
@@ -102,18 +102,6 @@ StreamPanner::PanControllable::get_value (void) const
        return direct_pan_to_control (xpos);
 }
 
-bool
-StreamPanner::PanControllable::can_send_feedback () const
-{
-       AutoState astate = panner.get_parent().automation_state ();
-
-       if ((astate == Play) || (astate == Touch && !panner.get_parent().touching())) {
-               return true;
-       }
-
-       return false;
-}
-
 void
 StreamPanner::set_muted (bool yn)
 {
index dbb23fdff403c9eb84afa8d31a9d956bfea1d4b4..9fa374ebc66c842b126c04d28b3c55a5467ba3ae 100644 (file)
@@ -40,8 +40,6 @@ class Controllable : public PBD::StatefulDestructible {
        virtual void set_value (float) = 0;
        virtual float get_value (void) const = 0;
 
-       virtual bool can_send_feedback() const { return true; }
-
        sigc::signal<void> LearningFinished;
        static sigc::signal<void,PBD::Controllable*,int,int> CreateBinding;
        static sigc::signal<void,PBD::Controllable*> DeleteBinding;
@@ -84,7 +82,6 @@ class IgnorableControllable : public Controllable
     
     void set_value (float v){}
     float get_value () const { return 0.0; }
-    bool can_send_feedback () const { return false; }
 };
 
 }