diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-08-27 15:27:37 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-08-27 15:35:38 +0300 |
commit | a7465aa35b4efd3bfc4bbd9be4d1572d25a05bb2 (patch) | |
tree | 9dfa5112b52705ae4f0e04f1e43b0307a7806f5a /src/plugins/rplugininterface.hpp | |
parent | Add CMakePresets.json (diff) | |
download | rekonq-a7465aa35b4efd3bfc4bbd9be4d1572d25a05bb2.tar.xz |
Rename rView to RekonqView
- move rview.hpp to include/
- move src/mainwindow/* to src/
Diffstat (limited to 'src/plugins/rplugininterface.hpp')
-rw-r--r-- | src/plugins/rplugininterface.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/rplugininterface.hpp b/src/plugins/rplugininterface.hpp index 16186591..e45f2422 100644 --- a/src/plugins/rplugininterface.hpp +++ b/src/plugins/rplugininterface.hpp @@ -9,15 +9,17 @@ #pragma once -#include "rview.hpp" #include <QtPlugin> +#include <rsettings.hpp> +#include <rview.hpp> class RekonqPluginInterface : public QObject { Q_OBJECT public: - virtual rView *view(const QUrl &url) = 0; + virtual void init(RekonqSettings *settings) = 0; + virtual RekonqView *view(const QUrl &url) = 0; }; -#define RekonqPluginInterface_iid "rekonq.3.RekongPluginInterface" +#define RekonqPluginInterface_iid "net.rekonq.3.RekonqPluginInterface/1" Q_DECLARE_INTERFACE(RekonqPluginInterface, RekonqPluginInterface_iid) |