after cloning a MIDI region, mark the source file as non-removable. Fixes reports...
[ardour.git] / libs / ardour / ardour / file_source.h
index 34e84c242811f8b1162a2e0c06673254ae21e497..e0db1d25b765ebfcb789e5c87d1f968fa77d65c8 100644 (file)
@@ -82,6 +82,8 @@ public:
        
        static PBD::Signal2<int,std::string,std::vector<std::string> > AmbiguousFileName;
 
+       virtual void prevent_deletion ();
+
 protected:
        FileSource (Session& session, DataType type,
                    const std::string& path,
@@ -103,7 +105,6 @@ protected:
        std::string _origin;
        bool        _open;
 
-       void prevent_deletion ();
 };
 
 } // namespace ARDOUR