switch Route::fed_by from shared_ptr to weak_ptr and thus begin to allow Route destru...
[ardour.git] / libs / ardour / ardour / element_importer.h
index 9d2d9cc0de0b47e6e466b4b5bb8f76d7e1c00139..a203c5d37bb7b956581526dff571a287db13e677 100644 (file)
 #include <sigc++/signal.h>
 
 #include "ardour/types.h"
-#include "ardour/session.h"
 
 class XMLTree;
 namespace ARDOUR {
 
+class Session;
+class ImportStatus;
+
 /// Virtual interface class for element importers
 class ElementImporter
 {
@@ -51,7 +53,7 @@ class ElementImporter
        virtual std::string get_info () const = 0;
 
        /** Gets import status, if applicable. */
-       virtual Session::ImportStatus * get_import_status () { return 0; }
+       virtual ImportStatus * get_import_status () { return 0; }
 
        /** Prepares to move element
         *
@@ -110,8 +112,8 @@ class ElementImporter
        /// The sample rate of the session from which we are importing
        nframes_t sample_rate;
 
-       /// Converts smpte time to a string
-       std::string smpte_to_string (SMPTE::Time & time) const;
+       /// Converts timecode time to a string
+       std::string timecode_to_string (Timecode::Time & time) const;
 
        /// Converts samples so that times match the sessions sample rate
        nframes_t rate_convert_samples (nframes_t samples) const;