summaryrefslogtreecommitdiff
path: root/src/plugins/rplugininterface.hpp
blob: 16186591d76577909b7f106e973711b4e8958bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ============================================================
 *     The rekonq project
 * ============================================================
 * SPDX-License-Identifier: GPL-3.0-only
 * Copyright (C) 2022 aqua <aqua@iserlohn-fortress.net>
 * ============================================================
 * Description: rekonq plugin interface
 * ============================================================ */

#pragma once

#include "rview.hpp"
#include <QtPlugin>

class RekonqPluginInterface : public QObject {
  Q_OBJECT

public:
  virtual rView *view(const QUrl &url) = 0;
};

#define RekonqPluginInterface_iid "rekonq.3.RekongPluginInterface"
Q_DECLARE_INTERFACE(RekonqPluginInterface, RekonqPluginInterface_iid)