don't display internal returns to user

git-svn-id: svn://localhost/ardour2/branches/3.0@8113 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2010-11-27 21:40:54 +00:00
parent 5a47cb37b8
commit a2f870bff9
3 changed files with 3 additions and 9 deletions

View File

@@ -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);

View File

@@ -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;
}

View File

@@ -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 ();