diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-08-16 16:19:04 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-08-16 16:19:04 +0300 |
commit | 616e680aa8af8f5056b5133dd44258c252ca656f (patch) | |
tree | 4c89c4fe2b9b2cc77c550c8d52d6d1058ee10846 /plugins/webengine/webengineplugin.hpp | |
parent | Add rView and WebView (diff) | |
download | rekonq-616e680aa8af8f5056b5133dd44258c252ca656f.tar.xz |
Turn WebEngine into a plugin
Diffstat (limited to 'plugins/webengine/webengineplugin.hpp')
-rw-r--r-- | plugins/webengine/webengineplugin.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/webengine/webengineplugin.hpp b/plugins/webengine/webengineplugin.hpp new file mode 100644 index 00000000..3ee63ff8 --- /dev/null +++ b/plugins/webengine/webengineplugin.hpp @@ -0,0 +1,23 @@ +/* ============================================================ + * The rekonq project + * ============================================================ + * SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2022 aqua <aqua@iserlohn-fortress.net> + * ============================================================ + * Description: WebEngine plugin View factory + * ============================================================ */ + +#pragma once + +#include <rplugininterface.hpp> + +class WebEnginePlugin final : public RekonqPluginInterface { + Q_OBJECT + Q_PLUGIN_METADATA(IID RekonqPluginInterface_iid FILE "WebEngine.json") + Q_INTERFACES(RekonqPluginInterface) + +public: + WebEnginePlugin() = default; + + rView *view(const QUrl &url) override; +}; |