void existence_check ();
virtual void prevent_deletion ();
- void existence_check ();
- virtual void prevent_deletion ();
+ /** Rename the file on disk referenced by this source to \param newname
+ */
+ int rename (const std::string& name);
+
+ virtual void release_descriptor () {}
protected:
FileSource (Session& session, DataType type,
uint16_t _channel;
bool _within_session;
std::string _origin;
- bool _open;
-
};
} // namespace ARDOUR