diff options
author | Robin Gareus <robin@gareus.org> | 2017-10-04 00:35:29 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-10-04 00:54:55 +0200 |
commit | e31f5d999837b0d0d63dc824c50e9da4acca7244 (patch) | |
tree | ef4712ccd25e8cc651ffabcd16e120571c21921d /libs/ardour/ardour/internal_return.h | |
parent | 5dd9acf9ab39306277652c28fb5ac4af330e0af0 (diff) |
Clean up State API:
* Processor implement get_state(), classes derived from Processor
implement protected ::state() -- as documented in processor.h
* likewise for Route, Track: make ::state() a protected interface
* removal of "full_state", use explicit "template_save"
* use RAII/Unwind to skip saving automation-state
Diffstat (limited to 'libs/ardour/ardour/internal_return.h')
-rw-r--r-- | libs/ardour/ardour/internal_return.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/internal_return.h b/libs/ardour/ardour/internal_return.h index dbc9bab3f2..71b8fc354d 100644 --- a/libs/ardour/ardour/internal_return.h +++ b/libs/ardour/ardour/internal_return.h @@ -31,12 +31,9 @@ class InternalSend; class LIBARDOUR_API InternalReturn : public Return { - public: +public: InternalReturn (Session&); - XMLNode& state (bool full); - XMLNode& get_state (); - void run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes, bool); bool configure_io (ChanCount, ChanCount); bool can_support_io_configuration (const ChanCount& in, ChanCount& out); @@ -46,7 +43,10 @@ class LIBARDOUR_API InternalReturn : public Return void set_playback_offset (samplecnt_t cnt); - private: +protected: + XMLNode& state (); + +private: /** sends that we are receiving data from */ std::list<InternalSend*> _sends; /** mutex to protect _sends */ |