diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-27 12:52:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-27 12:52:35 +0200 |
commit | de08c69d0c66f06bd165e3b6bd63b71ac83db9a9 (patch) | |
tree | 637c6569e5ce292db521e5ece6042418100cc393 /variant/default/main-window.hpp | |
parent | 841d3b28d6bda2fca3275ade618c28627b0565c2 (diff) |
cleanup
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r-- | variant/default/main-window.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp index 3c55be9e..55fca177 100644 --- a/variant/default/main-window.hpp +++ b/variant/default/main-window.hpp @@ -69,15 +69,17 @@ class main_window final : public QMainWindow, private State menu_action_options { &tray_menu }, menu_action_mappings { &tray_menu }; + bool exiting_already { false }; + using dylib_ptr = Modules::dylib_ptr; using dylib_list = Modules::dylib_list; - static std::tuple<dylib_ptr, int> module_by_name(const QString& name, Modules::dylib_list& list); - dylib_ptr current_tracker(); dylib_ptr current_protocol(); dylib_ptr current_filter(); + static std::tuple<dylib_ptr, int> module_by_name(const QString& name, Modules::dylib_list& list); + void update_button_state(bool running, bool inertialp); void display_pose(const double* mapped, const double* raw); void set_title(const QString& game_title = QString()); |