rather hacky fix for the change of the SyncSource > JACK enum to SyncSource > Engine
[ardour.git] / libs / ardour / ardour / midi_patch_manager.h
index 8c4ff43d5cdd7e4b04cac456d7885c34e236c9e1..32b3ebc61de6edf885a85f6b4186f98347e4126a 100644 (file)
@@ -22,7 +22,7 @@
 #define MIDI_PATCH_MANAGER_H_
 
 #include "midi++/midnam_patch.h"
-#include "pbd/scoped_connections.h"
+#include "pbd/signals.h"
 #include "ardour/session_handle.h"
 
 namespace ARDOUR {
@@ -39,7 +39,7 @@ class MidiPatchManager : public PBD::ScopedConnectionList, public ARDOUR::Sessio
 {
        /// Singleton
 private:
-       MidiPatchManager() {};
+       MidiPatchManager();
        MidiPatchManager( const MidiPatchManager& );
        MidiPatchManager& operator= (const MidiPatchManager&);
 
@@ -136,6 +136,7 @@ public:
 private:
        void session_going_away();
        void refresh();
+       void add_session_patches();
 
        MidiNameDocuments                       _documents;
        MIDINameDocument::MasterDeviceNamesList _master_devices_by_model;