libardour: add FileSource::mark_removable()
This might not actually be necessary, but the symmetry is nice
This commit is contained in:
@@ -56,6 +56,7 @@ public:
|
||||
void mark_immutable ();
|
||||
void mark_immutable_except_write();
|
||||
void mark_nonremovable ();
|
||||
void mark_removable ();
|
||||
|
||||
bool within_session () const { return _within_session; }
|
||||
uint16_t channel() const { return _channel; }
|
||||
|
||||
@@ -527,6 +527,12 @@ FileSource::mark_nonremovable ()
|
||||
_flags = Flag (_flags & ~(Removable|RemovableIfEmpty|RemoveAtDestroy));
|
||||
}
|
||||
|
||||
void
|
||||
FileSource::mark_removable ()
|
||||
{
|
||||
_flags = Flag (_flags | (Removable|RemovableIfEmpty|RemoveAtDestroy));
|
||||
}
|
||||
|
||||
void
|
||||
FileSource::set_within_session_from_path (const std::string& path)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user