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