mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
the daily dose of const'ness
This commit is contained in:
parent
3780a9526e
commit
89c02f4fd7
2 changed files with 8 additions and 8 deletions
|
|
@ -1011,25 +1011,25 @@ Selection::set (boost::shared_ptr<Evoral::ControlList> ac)
|
|||
}
|
||||
|
||||
bool
|
||||
Selection::selected (ArdourMarker* m)
|
||||
Selection::selected (ArdourMarker* m) const
|
||||
{
|
||||
return find (markers.begin(), markers.end(), m) != markers.end();
|
||||
}
|
||||
|
||||
bool
|
||||
Selection::selected (TimeAxisView* tv)
|
||||
Selection::selected (TimeAxisView* tv) const
|
||||
{
|
||||
return tv->selected ();
|
||||
}
|
||||
|
||||
bool
|
||||
Selection::selected (RegionView* rv)
|
||||
Selection::selected (RegionView* rv) const
|
||||
{
|
||||
return find (regions.begin(), regions.end(), rv) != regions.end();
|
||||
}
|
||||
|
||||
bool
|
||||
Selection::selected (ControlPoint* cp)
|
||||
Selection::selected (ControlPoint* cp) const
|
||||
{
|
||||
return find (points.begin(), points.end(), cp) != points.end();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,10 +113,10 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
|
|||
|
||||
void dump_region_layers();
|
||||
|
||||
bool selected (TimeAxisView*);
|
||||
bool selected (RegionView*);
|
||||
bool selected (ArdourMarker*);
|
||||
bool selected (ControlPoint*);
|
||||
bool selected (TimeAxisView*) const;
|
||||
bool selected (RegionView*) const;
|
||||
bool selected (ArdourMarker*) const;
|
||||
bool selected (ControlPoint*) const;
|
||||
|
||||
void set (std::list<Selectable*> const &);
|
||||
void add (std::list<Selectable*> const &);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue