aboutsummaryrefslogtreecommitdiff
path: root/include/plugininterface.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-01-04 22:00:25 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-01-04 23:03:40 +0200
commit93c92ce9791bb70cf3ff6af71e2f19e9b68d7584 (patch)
treefabbecb5a6712b400754ea1e5f7c892909d6e65c /include/plugininterface.h
parentFix configuration not being read unless explicitly specified (diff)
downloadsmolbote-93c92ce9791bb70cf3ff6af71e2f19e9b68d7584.tar.xz
Disable plugins as broken
- Fix several Qt deprecated warnings
Diffstat (limited to 'include/plugininterface.h')
-rw-r--r--include/plugininterface.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/plugininterface.h b/include/plugininterface.h
index 103ee62..6da417c 100644
--- a/include/plugininterface.h
+++ b/include/plugininterface.h
@@ -12,7 +12,6 @@
#include <QHash>
#include <memory>
#include <functional>
-#include "browserinterface.h"
#include <QApplication>
typedef QHash<QString, std::function<int()>> CommandHash_t;
@@ -24,11 +23,6 @@ public:
virtual ~PluginInterface() = default;
virtual CommandHash_t commands() = 0;
virtual QDialog *createWidget(QWidget *parent = nullptr) const = 0;
-
-protected:
- BrowserInterface *browser() const {
- return dynamic_cast<BrowserInterface *>(qApp);
- }
};
#define PluginInterfaceIid "net.iserlohn-fortress.smolbote.PluginInterface"