summaryrefslogtreecommitdiffhomepage
path: root/main-window/module-mixin.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-12-17 17:51:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2021-12-17 20:27:17 +0100
commit756d2925904ca87266fc30c3d84b9c3682c73fce (patch)
treecd4b4ac87e95de4795b4a63ee4c5b9707299f0d6 /main-window/module-mixin.hpp
parentc174ccfb7b22cfc39c03b153d112b43f8cbd92fa (diff)
opentrack: kill unfinished obsolete code
Diffstat (limited to 'main-window/module-mixin.hpp')
-rw-r--r--main-window/module-mixin.hpp52
1 files changed, 0 insertions, 52 deletions
diff --git a/main-window/module-mixin.hpp b/main-window/module-mixin.hpp
deleted file mode 100644
index cde0484c..00000000
--- a/main-window/module-mixin.hpp
+++ /dev/null
@@ -1,52 +0,0 @@
-#pragma once
-
-#include "mixins.hpp"
-#include "compat/library-path.hpp"
-#include "api/plugin-api.hpp"
-#include "logic/extensions.hpp"
-#include "logic/state.hpp"
-#include "logic/main-settings.hpp"
-
-#include <memory>
-#include <utility>
-
-#include <QObject>
-
-namespace OTR_MIXIN_NS(module_mixin) {
-
-using namespace options;
-
-using dylib_ptr = Modules::dylib_ptr;
-using dylib_list = Modules::dylib_list;
-
-struct OTR_MAIN_EXPORT module_mixin
-{
- module_mixin();
- virtual ~module_mixin();
-
- std::unique_ptr<ITrackerDialog> tracker_dialog;
- std::unique_ptr<IProtocolDialog> proto_dialog;
- std::unique_ptr<IFilterDialog> filter_dialog;
-
- std::tuple<dylib_ptr, int> module_by_name(const QString& name, const dylib_list& list) const;
-
- dylib_ptr current_tracker();
- dylib_ptr current_protocol();
- dylib_ptr current_filter();
-
- void show_tracker_settings_();
- void show_proto_settings_();
- void show_filter_settings_();
-
-private:
- Modules modules { OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH };
- event_handler ev { modules.extensions() };
- module_settings s;
- State state { OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH };
-
- QObject fuzz;
-};
-
-}
-
-OTR_DECLARE_MIXIN(module_mixin)