Remove unused dummy control class
PBD::IgnorableControllable() is no longer used. It also was problematic, because in every case where a Controllable is required, min/max range and usually also get/set value are significant.
This commit is contained in:
parent
7f2a59ca66
commit
f62fb6dd98
@ -191,19 +191,6 @@ private:
|
|||||||
static void remove (Controllable*);
|
static void remove (Controllable*);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* a utility class for the occasions when you need but do not have
|
|
||||||
* a Controllable
|
|
||||||
*/
|
|
||||||
class LIBPBD_API IgnorableControllable : public Controllable
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
IgnorableControllable () : PBD::Controllable ("ignoreMe") {}
|
|
||||||
~IgnorableControllable () {}
|
|
||||||
|
|
||||||
void set_value (double v, PBD::Controllable::GroupControlDisposition group_override) {}
|
|
||||||
double get_value () const { return 0.0; }
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __pbd_controllable_h__ */
|
#endif /* __pbd_controllable_h__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user