consolidate BundleAdded/Remove signal
[ardour.git] / libs / ardour / ardour / file_source.h
index 37a7e67d2ef4c35a460ba151941c84f15ce41c14..ac073d934ccc4dd38b0652bae43fb793bb55613a 100644 (file)
@@ -85,6 +85,12 @@ 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);
+
+       virtual void release_descriptor () {}
+
 protected:
        FileSource (Session& session, DataType type,
                    const std::string& path,
@@ -104,8 +110,6 @@ protected:
        uint16_t    _channel;
        bool        _within_session;
        std::string _origin;
-       bool        _open;
-
 };
 
 } // namespace ARDOUR