summaryrefslogtreecommitdiff
path: root/plugins/webengine/webengineplugin.hpp
blob: dcbc2db8904e1faec2a123e8cea99e2c5321afbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ============================================================
 *     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;

  void init(RekonqSettings *settings) override;
  RekonqView *view(const QUrl &url) override;
};