From 78f55f2e4dcd321838d1e194328168a6f9fb8e2d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 16 Sep 2014 21:30:16 -0400 Subject: [PATCH] change Location "change" signals of various kinds to be static --- libs/ardour/ardour/location.h | 9 +++++---- 1 file 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 scene_change() const { return _scene_change; } void set_scene_change (boost::shared_ptr); - PBD::Signal1 name_changed; - PBD::Signal1 end_changed; - PBD::Signal1 start_changed; + static PBD::Signal1 name_changed; + static PBD::Signal1 end_changed; + static PBD::Signal1 start_changed; PBD::Signal1 LockChanged; PBD::Signal2 FlagsChanged; PBD::Signal1 PositionLockStyleChanged; /* this is sent only when both start and end change at the same time */ - PBD::Signal1 changed; + static PBD::Signal1 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