diff options
-rw-r--r-- | src/AlsaDriver.hpp | 4 | ||||
-rw-r--r-- | src/JackDbusDriver.hpp | 1 | ||||
-rw-r--r-- | src/Patchage.hpp | 13 |
3 files changed, 3 insertions, 15 deletions
diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp index 2f4b1e3..1c57c02 100644 --- a/src/AlsaDriver.hpp +++ b/src/AlsaDriver.hpp @@ -22,9 +22,7 @@ #include <alsa/asoundlib.h> #include <pthread.h> -#include <map> #include <set> -#include <string> class ILog; @@ -52,8 +50,6 @@ public: bool connect(PortID tail_id, PortID head_id) override; bool disconnect(PortID tail_id, PortID head_id) override; - void print_addr(snd_seq_addr_t addr); - private: bool create_refresh_port(); static void* refresh_main(void* me); diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp index cbf6b47..9727fd6 100644 --- a/src/JackDbusDriver.hpp +++ b/src/JackDbusDriver.hpp @@ -21,7 +21,6 @@ #include "Driver.hpp" #include <dbus/dbus.h> -#include <glibmm/thread.h> #include <cstdint> #include <string> diff --git a/src/Patchage.hpp b/src/Patchage.hpp index eadcb58..8f0cb9a 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -76,17 +76,10 @@ public: const std::shared_ptr<PatchageCanvas>& canvas() const { return _canvas; } - Gtk::Window* window() { return _main_win.get(); } - ILog& log() { return _log; } - Metadata& metadata() { return _metadata; } - + Gtk::Window* window() { return _main_win.get(); } + ILog& log() { return _log; } + Metadata& metadata() { return _metadata; } Configuration* conf() const { return _conf; } - JackDriver* jack_driver() const { return _jack_driver; } -#ifdef HAVE_ALSA - AlsaDriver* alsa_driver() const { return _alsa_driver; } -#endif - - Glib::RefPtr<Gtk::Builder> xml() { return _xml; } void attach(); void save(); |