merge with master.
[ardour.git] / libs / ardour / ardour / file_source.h
index 37a7e67d2ef4c35a460ba151941c84f15ce41c14..8b8adfeb669813f7bb4a4d82f6d47f021e1e0101 100644 (file)
@@ -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,