2009-09-23 20:57:47 +00:00
|
|
|
/* This file is part of the KDE project
|
2024-08-08 01:08:31 +02:00
|
|
|
SPDX-FileCopyrightText: 2009 Collabora Ltd <info@collabora.co.uk>
|
|
|
|
|
SPDX-FileContributor: George Goldberg <george.goldberg@collabora.co.uk>
|
|
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
2009-09-23 20:57:47 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef LIB_KRFB_FRAMEBUFFERPLUGIN_H
|
|
|
|
|
#define LIB_KRFB_FRAMEBUFFERPLUGIN_H
|
|
|
|
|
|
2015-09-06 15:31:29 -06:00
|
|
|
#include "krfbprivate_export.h"
|
2009-09-23 20:57:47 +00:00
|
|
|
|
2018-07-17 14:48:28 +02:00
|
|
|
#include <QVariantList>
|
2015-09-06 15:31:29 -06:00
|
|
|
#include <QWidget>
|
2010-10-23 19:30:42 +00:00
|
|
|
|
2009-09-23 20:57:47 +00:00
|
|
|
|
|
|
|
|
class FrameBuffer;
|
|
|
|
|
|
2015-09-06 15:31:29 -06:00
|
|
|
class KRFBPRIVATE_EXPORT FrameBufferPlugin : public QObject
|
2009-09-23 20:57:47 +00:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2021-07-09 08:51:05 +02:00
|
|
|
explicit FrameBufferPlugin(QObject *parent, const QVariantList &args);
|
2018-07-17 14:40:23 +02:00
|
|
|
~FrameBufferPlugin() override;
|
2009-09-23 20:57:47 +00:00
|
|
|
|
2022-08-03 22:00:16 +02:00
|
|
|
virtual FrameBuffer *frameBuffer(const QVariantMap &args) = 0;
|
2009-09-23 20:57:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // Header guard
|
|
|
|
|
|