diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-14 09:08:45 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-14 09:09:36 +0200 |
commit | 90e7bf2962a798a0a89c92a31a2141946221012a (patch) | |
tree | e89009c30adc5459c4045da20e89fced5698bcab /variant/default/main-window.hpp | |
parent | a42fefc9c0bbc7aafeff58ae2898c326f9aaab11 (diff) |
opentrack: move macros away from header file
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r-- | variant/default/main-window.hpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp index 823c5191..3c55be9e 100644 --- a/variant/default/main-window.hpp +++ b/variant/default/main-window.hpp @@ -32,8 +32,6 @@ #include <QEvent> #include <QCloseEvent> -#include <algorithm> -#include <vector> #include <tuple> #include <memory> @@ -98,18 +96,6 @@ class main_window final : public QMainWindow, private State void annoy_if_root(); #endif - // only use in impl file since no definition in header! - template<typename t> - bool mk_dialog(const std::shared_ptr<dylib>& lib, std::unique_ptr<t>& d); - - // idem - template<typename t, typename... Args> - inline bool mk_window(std::unique_ptr<t>& place, Args&&... params); - - // idem - template<typename t, typename F> - bool mk_window_common(std::unique_ptr<t>& d, F&& ctor); - void closeEvent(QCloseEvent *event) override; bool maybe_die_on_config_not_writable(const QString& current, QStringList* ini_list); |