diff options
author | David Robillard <d@drobilla.net> | 2006-08-14 08:44:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-08-14 08:44:14 +0000 |
commit | d752986314eb37151983393c1d62efefe503e47c (patch) | |
tree | a98e98b047fd81664e6d3148f4fff65bf86a1e20 /libs/ardour/ardour/playlist.h | |
parent | 0b572cdd84151335594965a3f0ed16f1665dfa56 (diff) |
- MIDI "recording" - rec region creation/drawing, actual MIDI region creation/view/pretty pictures/etc
- MIDI containing session saving and restoring (ie XML - Source, Region, Playlist; all but the actual .mid files)
- Numerous little fixes for audio specific stuff to accomplish the above
- Dirty hacks to accomplish the above
- Profit!!!
git-svn-id: svn://localhost/ardour2/branches/midi@821 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r-- | libs/ardour/ardour/playlist.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h index b389258860..59fd0f8bc5 100644 --- a/libs/ardour/ardour/playlist.h +++ b/libs/ardour/ardour/playlist.h @@ -39,6 +39,7 @@ #include <ardour/crossfade_compare.h> #include <ardour/location.h> #include <ardour/state_manager.h> +#include <ardour/data_type.h> namespace ARDOUR { @@ -49,8 +50,8 @@ class Playlist : public Stateful, public StateManager { public: typedef list<Region*> RegionList; - Playlist (Session&, const XMLNode&, bool hidden = false); - Playlist (Session&, string name, bool hidden = false); + Playlist (Session&, const XMLNode&, DataType type, bool hidden = false); + Playlist (Session&, string name, DataType type, bool hidden = false); Playlist (const Playlist&, string name, bool hidden = false); Playlist (const Playlist&, jack_nframes_t start, jack_nframes_t cnt, string name, bool hidden = false); @@ -65,6 +66,8 @@ class Playlist : public Stateful, public StateManager { const string& name() const { return _name; } void set_name (const string& str); + const DataType& data_type() const { return _type; } + bool frozen() const { return _frozen; } void set_frozen (bool yn); @@ -171,6 +174,7 @@ class Playlist : public Stateful, public StateManager { RegionList regions; string _name; Session& _session; + DataType _type; mutable gint block_notifications; mutable gint ignore_state_changes; mutable Glib::Mutex region_lock; @@ -275,7 +279,7 @@ class Playlist : public Stateful, public StateManager { void timestamp_layer_op (Region&); - PBD::ID _id; + PBD::ID _id; }; } /* namespace ARDOUR */ |