Respond to MMC even when synced to JACK. Fixes #3700.
[ardour.git] / libs / ardour / ardour / export_profile_manager.h
index b8e86d11df85218bd9f557eb7d63f30123591ffd..dc4b6b006016559a6f0a661fe8abf115ff374a0e 100644 (file)
@@ -55,7 +55,7 @@ class ExportProfileManager
 {
   public:
 
-       ExportProfileManager (Session & s);
+       ExportProfileManager (Session & s, std::string xml_node_name);
        ~ExportProfileManager ();
 
        void load_profile ();
@@ -75,6 +75,7 @@ class ExportProfileManager
        typedef std::pair<PBD::UUID, PBD::sys::path> FilePair;
        typedef std::map<PBD::UUID, PBD::sys::path> FileMap;
 
+       std::string const xml_node_name;
        HandlerPtr  handler;
        Session &   session;
 
@@ -136,8 +137,8 @@ class ExportProfileManager
        typedef boost::shared_ptr<TimespanState> TimespanStatePtr;
        typedef std::list<TimespanStatePtr> TimespanStateList;
 
-       void set_selection_range (nframes_t start = 0, nframes_t end = 0);
-       std::string set_single_range (nframes_t start, nframes_t end, std::string name);
+       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);
        TimespanStateList const & get_timespans () { return check_list (timespans); }
 
   private:
@@ -174,6 +175,8 @@ class ExportProfileManager
        typedef std::list<ChannelConfigStatePtr> ChannelConfigStateList;
 
        ChannelConfigStateList const & get_channel_configs () { return check_list (channel_configs); }
+       void clear_channel_configs () { channel_configs.clear(); }
+       ChannelConfigStatePtr add_channel_config ();
 
   private: