RhythmGame 1.4.3
Loading...
Searching...
No Matches
CimPlugin.h
Go to the documentation of this file.
1#ifndef RHYTHMGAME_CIMPLUGIN_H
2#define RHYTHMGAME_CIMPLUGIN_H
3
4#include <QImageIOPlugin>
5
6class CimPlugin : public QImageIOPlugin
7{
8 Q_OBJECT
9 Q_PLUGIN_METADATA(IID
10 "org.qt-project.Qt.QImageIOHandlerFactoryInterface" FILE
11 "cim.json")
12
13 public:
14 Capabilities capabilities(QIODevice* device,
15 const QByteArray& format) const override;
16 QImageIOHandler* create(QIODevice* device,
17 const QByteArray& format) const override;
18};
19
20#endif // RHYTHMGAME_CIMPLUGIN_H
Definition CimPlugin.h:7