consolidate BundleAdded/Remove signal
[ardour.git] / libs / ardour / ardour / file_source.h
index c0e4fba0de4b99ecbc189179ec9634b45a7247c4..ac073d934ccc4dd38b0652bae43fb793bb55613a 100644 (file)
@@ -85,8 +85,11 @@ public:
        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,
@@ -107,8 +110,6 @@ protected:
        uint16_t    _channel;
        bool        _within_session;
        std::string _origin;
-       bool        _open;
-
 };
 
 } // namespace ARDOUR