first part of using appropriate .ext extensions for the current chosen native file...
[ardour.git] / libs / ardour / ardour / session.h
index aa75cb17e665751b861e44837a1896f6bce32c2e..21bde800d303d041a32479ff5720522eabeb8dc5 100644 (file)
@@ -180,7 +180,7 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
 
        Glib::ustring peak_path (Glib::ustring) const;
 
-       static std::string change_source_path_by_name (std::string oldpath, std::string oldname, std::string newname, bool destructive);
+       std::string change_source_path_by_name (std::string oldpath, std::string oldname, std::string newname, bool destructive);
 
        std::string peak_path_from_audio_path (std::string) const;
        std::string new_audio_source_name (const std::string&, uint32_t nchans, uint32_t chan, bool destructive);
@@ -774,6 +774,8 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
        void send_mmc_locate (nframes64_t);
        int send_full_time_code (nframes64_t);
 
+       PBD::Signal0<void> RouteOrderKeyChanged;
+
   protected:
        friend class AudioEngine;
        void set_block_size (nframes_t nframes);
@@ -1178,8 +1180,7 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
 
        bool find_route_name (const char* base, uint32_t& id, char* name, size_t name_len);
        void count_existing_route_channels (ChanCount& in, ChanCount& out);
-       void auto_connect_route (boost::shared_ptr<Route> route,
-               ChanCount& existing_inputs, ChanCount& existing_outputs);
+       void auto_connect_route (boost::shared_ptr<Route> route, ChanCount& existing_inputs, ChanCount& existing_outputs, bool connect_inputs = true);
 
        /* mixer stuff */
 
@@ -1417,6 +1418,8 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
 
        void setup_midi_machine_control ();
         void cleanup_stubfiles ();
+
+       void route_order_key_changed ();
 };
 
 } // namespace ARDOUR