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:
parent
7eadc684a5
commit
d6ce0641a7
|
@ -114,7 +114,6 @@ class StreamPanner : public sigc::trackable, public PBD::Stateful
|
||||||
|
|
||||||
void set_value (float);
|
void set_value (float);
|
||||||
float get_value (void) const;
|
float get_value (void) const;
|
||||||
bool can_send_feedback() const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
boost::shared_ptr<PanControllable> _control;
|
boost::shared_ptr<PanControllable> _control;
|
||||||
|
|
|
@ -102,18 +102,6 @@ StreamPanner::PanControllable::get_value (void) const
|
||||||
return direct_pan_to_control (xpos);
|
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
|
void
|
||||||
StreamPanner::set_muted (bool yn)
|
StreamPanner::set_muted (bool yn)
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,8 +40,6 @@ class Controllable : public PBD::StatefulDestructible {
|
||||||
virtual void set_value (float) = 0;
|
virtual void set_value (float) = 0;
|
||||||
virtual float get_value (void) const = 0;
|
virtual float get_value (void) const = 0;
|
||||||
|
|
||||||
virtual bool can_send_feedback() const { return true; }
|
|
||||||
|
|
||||||
sigc::signal<void> LearningFinished;
|
sigc::signal<void> LearningFinished;
|
||||||
static sigc::signal<void,PBD::Controllable*,int,int> CreateBinding;
|
static sigc::signal<void,PBD::Controllable*,int,int> CreateBinding;
|
||||||
static sigc::signal<void,PBD::Controllable*> DeleteBinding;
|
static sigc::signal<void,PBD::Controllable*> DeleteBinding;
|
||||||
|
@ -84,7 +82,6 @@ class IgnorableControllable : public Controllable
|
||||||
|
|
||||||
void set_value (float v){}
|
void set_value (float v){}
|
||||||
float get_value () const { return 0.0; }
|
float get_value () const { return 0.0; }
|
||||||
bool can_send_feedback () const { return false; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user