add libardour infrastructure for "fade range" edit operation
[ardour.git] / libs / ardour / ardour / smf_source.h
index a068a3e3853b648849bc20ed987a2e87105f6a13..84c45f9b3cf342be199c2e552c58daa74c715f12 100644 (file)
@@ -34,7 +34,7 @@ namespace ARDOUR {
 template<typename T> class MidiRingBuffer;
 
 /** Standard Midi File (Type 0) Source */
-class SMFSource : public MidiSource, public FileSource, public Evoral::SMF {
+class LIBARDOUR_API SMFSource : public MidiSource, public FileSource, public Evoral::SMF {
 public:
        /** Constructor for new internal-to-session files */
        SMFSource (Session& session, const std::string& path, Source::Flag flags);
@@ -47,15 +47,6 @@ public:
 
        virtual ~SMFSource ();
 
-       /** Rename the file on disk referenced by this source to \param newname
-        *
-        * This method exists only for MIDI file sources, not for audio, which 
-        * can never be renamed. It exists for MIDI so that we can get
-        * consistent and sane region/source numbering when regions are added
-        * manually (which never happens with audio).
-        */
-       int rename (const std::string& name);
-
         bool safe_file_extension (const std::string& path) const {
                return safe_midi_file_extension(path);
        }