You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qt-plugins/imageformat/rsvgimageplugin.h

17 lines
484 B
C++

#ifndef RSVGIMAGEPLUGIN_H
#define RSVGIMAGEPLUGIN_H
#include <QImageIOPlugin>
class RsvgImagePlugin final : public QImageIOPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QImageIOHandlerFactoryInterface" FILE "rsvgimage.json")
public:
Capabilities capabilities(QIODevice *device, const QByteArray &format) const override;
QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const override;
};
#endif // RSVGIMAGEPLUGIN_H