diff options
Diffstat (limited to 'plugins/interfaces.h')
-rw-r--r-- | plugins/interfaces.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/interfaces.h b/plugins/interfaces.h index 4e361ab..d6bff54 100644 --- a/plugins/interfaces.h +++ b/plugins/interfaces.h @@ -34,7 +34,8 @@ class ProfileInterface { public: virtual ~ProfileInterface() = default; - virtual QDialog *createWidget(QHash<QString, QWebEngineProfile *> profiles, QWidget *parent) = 0; + virtual void addProfile(const QString &name, QWebEngineProfile *profile) = 0; + virtual QDialog *createWidget(QWidget *parent = nullptr) = 0; }; #define PluginInterfaceIid "net.iserlohn-fortress.smolbote.PluginInterface" |