Messagelib

messagepartrenderplugin.h
1/*
2 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messageviewer_export.h"
10
11#include <QtPlugin>
12
13namespace MessageViewer
14{
15namespace Interface
16{
17class BodyPartURLHandler;
18}
19class MessagePartRendererBase;
20
21/**
22 * Plugin interface for MessagePartRendererBase instances.
23 */
24class MESSAGEVIEWER_EXPORT MessagePartRenderPlugin
25{
26public:
28 virtual MessagePartRendererBase *renderer(int index) = 0;
29 virtual const Interface::BodyPartURLHandler *urlHandler(int idx) const;
30};
31}
32
33Q_DECLARE_INTERFACE(MessageViewer::MessagePartRenderPlugin, "org.kde.messageviewer.messagepartrenderer/1.1")
An interface to body part reader link handlers.
Plugin interface for MessagePartRendererBase instances.
The MessagePartRendererBase class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.