dramatic change in logic and naming for operations related to adding a MIDI region...
[ardour.git] / libs / ardour / ardour / smf_source.h
index 82e6252b4507748e6b4da3e58536ec8dd05b64b1..193330ef3688686c3e3c60e358d5a988233a6f7e 100644 (file)
@@ -49,8 +49,6 @@ public:
                return safe_midi_file_extension(path);
        }
 
-       bool set_name (const std::string& newname) { return (set_source_name(newname, false) == 0); }
-
        void append_event_unlocked_beats (const Evoral::Event<Evoral::MusicalTime>& ev);
        void append_event_unlocked_frames (const Evoral::Event<framepos_t>& ev, framepos_t source_start);
 
@@ -69,6 +67,8 @@ public:
 
        static bool safe_midi_file_extension (const std::string& path);
 
+       void prevent_deletion ();
+
   protected:
        void set_path (const std::string& newpath);