diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-02 11:20:37 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-02 11:20:37 -0400 |
commit | 74bc0c84686c4a85941b98d17179d3209bf9a2a8 (patch) | |
tree | 8b14bd2694fd2c807f455d6ee3330eeb6a3d4033 /libs/ardour/ardour/file_source.h | |
parent | 08a1409b1f5b5558d2eccc28a3ae4cbd44391812 (diff) |
substantive changes to the logic and safety for naming of (audio/MIDI) sources, especially when created via import
Diffstat (limited to 'libs/ardour/ardour/file_source.h')
-rw-r--r-- | libs/ardour/ardour/file_source.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/file_source.h b/libs/ardour/ardour/file_source.h index 531cdf4d4c..8eebfeac4e 100644 --- a/libs/ardour/ardour/file_source.h +++ b/libs/ardour/ardour/file_source.h @@ -85,6 +85,10 @@ public: 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); + protected: FileSource (Session& session, DataType type, const std::string& path, |