summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/location.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-09 18:22:10 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-09 18:22:10 +0000
commit7c5f1b7a26df60417590340d4cfe367ed00e180a (patch)
tree52007e3a379a9bd0e93264d9e4411ca79857e8b1 /libs/ardour/ardour/location.h
parent2c90b4f36cd074428631eb94b4a95ea0844870bc (diff)
Add glue / lock buttons to the location window.
git-svn-id: svn://localhost/ardour2/branches/3.0@7577 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r--libs/ardour/ardour/location.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h
index cafcf38494..429fac177c 100644
--- a/libs/ardour/ardour/location.h
+++ b/libs/ardour/ardour/location.h
@@ -58,8 +58,8 @@ class Location : public SessionHandleRef, public PBD::StatefulDestructible
Location* operator= (const Location& other);
bool locked() const { return _locked; }
- void lock() { _locked = true; changed (this); }
- void unlock() { _locked = false; changed (this); }
+ void lock() { _locked = true; LockChanged (this); }
+ void unlock() { _locked = false; LockChanged (this); }
nframes64_t start() const { return _start; }
nframes64_t end() const { return _end; }
@@ -95,10 +95,11 @@ class Location : public SessionHandleRef, public PBD::StatefulDestructible
PBD::Signal1<void,Location*> end_changed;
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&end change at the same time */
-
+ /* this is sent only when both start and end change at the same time */
PBD::Signal1<void,Location*> changed;
/* CD Track / CD-Text info */