diff options
author | Nikolaus Gullotta <nik@harrisonconsoles.com> | 2019-07-22 15:47:01 -0500 |
---|---|---|
committer | Nikolaus Gullotta <nik@harrisonconsoles.com> | 2019-07-22 15:47:01 -0500 |
commit | 7d4f72174c2c5b97baf5fe5ec22f41ad28818925 (patch) | |
tree | bf944e4e8d27674d312b6169b7bd27a2614187d3 /libs/ardour/ardour/location.h | |
parent | b5a50821fcf934f198483d5061ba8fcb791efcc9 (diff) |
Location timestamp changes - can now sort by location creation date: lib ardour part
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index d31277ee71..f55f931731 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -23,6 +23,7 @@ #include <list> #include <iostream> #include <map> +#include <ctime> #include <sys/types.h> @@ -69,6 +70,7 @@ public: void lock (); void unlock (); + time_t timestamp() { return _timestamp; }; samplepos_t start() const { return _start; } samplepos_t end() const { return _end; } samplecnt_t length() const { return _end - _start; } @@ -160,6 +162,7 @@ private: bool _locked; PositionLockStyle _position_lock_style; boost::shared_ptr<SceneChange> _scene_change; + time_t _timestamp; void set_mark (bool yn); bool set_flag_internal (bool yn, Flags flag); |