00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef QEXTEND_PLUGINS_IMAGEFORMATS_DEVIL_PLUGIN_H
00021 #define QEXTEND_PLUGINS_IMAGEFORMATS_DEVIL_PLUGIN_H
00022
00023 #include <QtGui/QImageIOPlugin>
00024 #include "../../../core/qextend_global.h"
00025 #include "handler.hpp"
00026
00027 namespace QExtend
00028 {
00029
00030 namespace DevIL
00031 {
00032
00033
00035
00037
00052 class DevILPlugin : public QImageIOPlugin
00053 {
00054 public:
00055
00056
00058
00059
00061 DevILPlugin();
00062
00063
00064
00066
00067
00069 ~DevILPlugin();
00070
00071
00072
00073
00074
00076
00077
00079
00103 QStringList keys() const;
00104
00105
00106
00108
00109
00111
00141 Capabilities capabilities (QIODevice * device, const QByteArray & format) const;
00142
00143
00144
00146
00147
00149
00174 QImageIOHandler * create (QIODevice * device, const QByteArray & format = QByteArray()) const;
00175 };
00176
00177 }
00178
00179 }
00180
00181 #endif // QEXTEND_PLUGINS_IMAGEFORMATS_DEVIL_PLUGIN_H