13
0

Remove unused can_send_feedback API.

git-svn-id: svn://localhost/ardour2/branches/3.0@3827 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2008-09-29 02:02:24 +00:00
parent 7eadc684a5
commit d6ce0641a7
3 changed files with 0 additions and 16 deletions

View 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;

View 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)
{

View 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; }
};
}