diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-09-16 21:30:16 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-09-16 21:30:16 -0400 |
commit | 78f55f2e4dcd321838d1e194328168a6f9fb8e2d (patch) | |
tree | 06c2c367d98d945e868ae6869c802125a8c32950 /libs/ardour/ardour/location.h | |
parent | 4e411dfd7bab6793426979fe005faf2435c0df0d (diff) |
change Location "change" signals of various kinds to be static
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index 6cea208f05..eb35a1e209 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -99,16 +99,16 @@ class LIBARDOUR_API Location : public SessionHandleRef, public PBD::StatefulDest boost::shared_ptr<SceneChange> scene_change() const { return _scene_change; } void set_scene_change (boost::shared_ptr<SceneChange>); - PBD::Signal1<void,Location*> name_changed; - PBD::Signal1<void,Location*> end_changed; - PBD::Signal1<void,Location*> start_changed; + static PBD::Signal1<void,Location*> name_changed; + static PBD::Signal1<void,Location*> end_changed; + static PBD::Signal1<void,Location*> start_changed; PBD::Signal1<void,Location*> LockChanged; PBD::Signal2<void,Location*,void*> FlagsChanged; PBD::Signal1<void,Location*> PositionLockStyleChanged; /* this is sent only when both start and end change at the same time */ - PBD::Signal1<void,Location*> changed; + static PBD::Signal1<void,Location*> changed; /* CD Track / CD-Text info */ @@ -211,6 +211,7 @@ class LIBARDOUR_API Locations : public SessionHandleRef, public PBD::StatefulDes int set_current_unlocked (Location *); void location_changed (Location*); + void listen_to (Location*); }; } // namespace ARDOUR |