diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-13 20:43:28 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-13 20:43:28 +0000 |
commit | 8c4ce1e2ce35571aed5a686671431fdfffae7f8c (patch) | |
tree | 180a152d46b78d4f1022df83074f136c90c762e7 /libs/ardour/ardour/source.h | |
parent | c221b09560842b71773eee15972d87c222baf6a1 (diff) |
writable session patch, forward ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5770 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/source.h')
-rw-r--r-- | libs/ardour/ardour/source.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/source.h b/libs/ardour/ardour/source.h index d6c68edf90..a61af84ac8 100644 --- a/libs/ardour/ardour/source.h +++ b/libs/ardour/ardour/source.h @@ -79,7 +79,7 @@ class Source : public SessionObject, public boost::noncopyable int set_state (const XMLNode&); bool destructive() const { return (_flags & Destructive); } - bool writable () const { return _flags & Writable; } + bool writable () const { return (_flags & Writable); } virtual bool set_destructive (bool /*yn*/) { return false; } virtual bool length_mutable() const { return false; } @@ -128,6 +128,7 @@ class Source : public SessionObject, public boost::noncopyable private: uint32_t _in_use; + void fix_writable_flags (); }; } |