diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-04 22:00:25 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-04 23:03:40 +0200 |
commit | 93c92ce9791bb70cf3ff6af71e2f19e9b68d7584 (patch) | |
tree | fabbecb5a6712b400754ea1e5f7c892909d6e65c /include | |
parent | Fix configuration not being read unless explicitly specified (diff) | |
download | smolbote-93c92ce9791bb70cf3ff6af71e2f19e9b68d7584.tar.xz |
Disable plugins as broken
- Fix several Qt deprecated warnings
Diffstat (limited to 'include')
-rw-r--r-- | include/browserinterface.h | 21 | ||||
-rw-r--r-- | include/plugininterface.h | 6 |
2 files changed, 0 insertions, 27 deletions
diff --git a/include/browserinterface.h b/include/browserinterface.h deleted file mode 100644 index 4cdc63b..0000000 --- a/include/browserinterface.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This file is part of smolbote. It's copyrighted by the contributors recorded - * in the version control history of the file, available from its original - * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote - * - * SPDX-License-Identifier: MIT - */ - -#pragma once - -class Profile; -class BrowserInterface -{ -public: - virtual ~BrowserInterface() = default; - - // profile access - virtual const QList<QPair<QString, Profile *>> profileList() const = 0; - virtual QPair<QString, Profile *> loadProfile(const QString &id, bool isOffTheRecord = true) = 0; - virtual void removeProfile(const QString &id) = 0; -}; 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" |