Add API to query IO latencies
[ardour.git] / libs / ardour / ardour / export_profile_manager.h
index 77ace497c2d1f1375f2dae69160c888b5af0e33b..4f477f65b9a4632734949b2e31aca98b83bb7e92 100644 (file)
@@ -35,6 +35,7 @@
 
 #include "ardour/filesystem_paths.h"
 #include "ardour/location.h"
+#include "ardour/libardour_visibility.h"
 #include "ardour/types.h"
 #include "ardour/export_handler.h"
 
@@ -46,7 +47,7 @@ class Location;
 class Session;
 
 /// Manages (de)serialization of export profiles and related classes
-class ExportProfileManager
+class LIBARDOUR_API ExportProfileManager
 {
   public:
 
@@ -64,6 +65,8 @@ class ExportProfileManager
        void load_profile ();
        void prepare_for_export ();
 
+       ExportType type () const { return _type; }
+
        typedef std::list<ExportPresetPtr> PresetList;
 
        PresetList const & get_presets () { return preset_list; }
@@ -78,7 +81,7 @@ class ExportProfileManager
        typedef std::pair<PBD::UUID, std::string> FilePair;
        typedef std::map<PBD::UUID, std::string> FileMap;
 
-       ExportType type;
+       ExportType  _type;
        std::string xml_node_name;
        HandlerPtr  handler;
        Session &   session;
@@ -115,7 +118,7 @@ class ExportProfileManager
                Timecode,
                BBT,
                MinSec,
-               Frames,
+               Samples,
        };
 
        struct TimespanState {
@@ -137,8 +140,8 @@ class ExportProfileManager
        typedef boost::shared_ptr<TimespanState> TimespanStatePtr;
        typedef std::list<TimespanStatePtr> TimespanStateList;
 
-       void set_selection_range (framepos_t start = 0, framepos_t end = 0);
-       std::string set_single_range (framepos_t start, framepos_t end, std::string name);
+       void set_selection_range (samplepos_t start = 0, samplepos_t end = 0);
+       std::string set_single_range (samplepos_t start, samplepos_t end, std::string name);
        TimespanStateList const & get_timespans () { return check_list (timespans); }
 
   private: