From d33ccf0ae795aeb62b783d3c3548f2c0e04a5aaa Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 27 Nov 2010 21:40:54 +0000 Subject: [PATCH] don't display internal returns to user git-svn-id: http://subversion.ardour.org/svn/ardour2/ardour2/branches/3.0@8113 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/internal_return.h | 4 +--- libs/ardour/internal_return.cc | 6 +----- libs/pbd/pbd/stateful.h | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/libs/ardour/ardour/internal_return.h b/libs/ardour/ardour/internal_return.h index 75de95475..d05e76459 100644 --- a/libs/ardour/ardour/internal_return.h +++ b/libs/ardour/ardour/internal_return.h @@ -32,9 +32,7 @@ class InternalReturn : public Return public: InternalReturn (Session&); - bool visible() const; - - XMLNode& state(bool full); +XMLNode& state(bool full); XMLNode& get_state(void); int set_state(const XMLNode&, int version); diff --git a/libs/ardour/internal_return.cc b/libs/ardour/internal_return.cc index db3c68a35..1d135cc44 100644 --- a/libs/ardour/internal_return.cc +++ b/libs/ardour/internal_return.cc @@ -34,6 +34,7 @@ InternalReturn::InternalReturn (Session& s) , user_count (0) { CycleStart.connect_same_thread (*this, boost::bind (&InternalReturn::cycle_start, this, _1)); + _display_to_user = false; } void @@ -137,8 +138,3 @@ InternalReturn::can_support_io_configuration (const ChanCount& in, ChanCount& ou return true; } -bool -InternalReturn::visible () const -{ - return false; -} diff --git a/libs/pbd/pbd/stateful.h b/libs/pbd/pbd/stateful.h index 1f0f73b3e..e8ced2c2f 100644 --- a/libs/pbd/pbd/stateful.h +++ b/libs/pbd/pbd/stateful.h @@ -64,7 +64,7 @@ class Stateful { XMLNode *extra_xml (const std::string& str); const PBD::ID& id() const { return _id; } - + /* history management */ void clear_changes (); -- 2.11.4.GIT