improve AU Latency PropertyChange Events
[ardour.git] / libs / ardour / ardour / export_profile_manager.h
index 82b32fb032a8939fc8b04058d8cadf0d83647051..b0285f8ecce11733b6a2d4582ee61bce19468ab0 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;
@@ -102,7 +105,7 @@ class ExportProfileManager
        std::vector<std::string> find_file (std::string const & pattern);
 
        std::string  export_config_dir;
-       PBD::SearchPath search_path;
+       PBD::Searchpath search_path;
 
 /* Timespans */
   public:
@@ -122,16 +125,13 @@ class ExportProfileManager
                TimespanListPtr timespans;
                TimeFormat      time_format;
 
-               boost::shared_ptr<Location> session_range;
                boost::shared_ptr<Location> selection_range;
                boost::shared_ptr<LocationList> ranges;
 
-               TimespanState (boost::shared_ptr<Location> session_range,
-                              boost::shared_ptr<Location> selection_range,
+               TimespanState (boost::shared_ptr<Location> selection_range,
                               boost::shared_ptr<LocationList> ranges)
                  : timespans (new TimespanList ())
                  , time_format (Timecode)
-                 , session_range (session_range)
                  , selection_range (selection_range)
                  , ranges (ranges)
                {}
@@ -157,7 +157,6 @@ class ExportProfileManager
 
        void update_ranges ();
 
-       boost::shared_ptr<Location>     session_range;
        boost::shared_ptr<Location>     selection_range;
        boost::shared_ptr<LocationList> ranges;