diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-07 00:27:41 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-07 00:27:41 -0400 |
commit | 902c96ee53db6d5cbe2c21c9424c89e1e0088cb1 (patch) | |
tree | a6703d9cb6c7b35a638a8ef2e1ef6060fbd00759 /windows/mainwindow.hpp | |
parent | 3832ff9a15f448ba15d60e91b949f21d3295fc24 (diff) | |
download | abaddon-portaudio-902c96ee53db6d5cbe2c21c9424c89e1e0088cb1.tar.gz abaddon-portaudio-902c96ee53db6d5cbe2c21c9424c89e1e0088cb1.zip |
use a singleton (oh no) instead of passing Abaddon* everywhere
Diffstat (limited to 'windows/mainwindow.hpp')
-rw-r--r-- | windows/mainwindow.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/windows/mainwindow.hpp b/windows/mainwindow.hpp index e3c7ec5..0cb5084 100644 --- a/windows/mainwindow.hpp +++ b/windows/mainwindow.hpp @@ -4,11 +4,9 @@ #include "../components/memberlist.hpp" #include <gtkmm.h> -class Abaddon; class MainWindow : public Gtk::Window { public: MainWindow(); - void SetAbaddon(Abaddon *ptr); void UpdateComponents(); void UpdateMembers(); @@ -42,6 +40,4 @@ protected: Gtk::MenuItem m_menu_file; Gtk::Menu m_menu_file_sub; Gtk::MenuItem m_menu_file_reload_css; - - Abaddon *m_abaddon = nullptr; }; |