home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
qt3_emx.zip
/
include
/
qimageformatplugin.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-10-05
|
760b
|
30 lines
#ifndef QIMAGEFORMATPLUGIN_H
#define QIMAGEFORMATPLUGIN_H
#ifndef QT_H
#include "qgplugin.h"
#include "qstringlist.h"
#endif // QT_H
#ifndef QT_NO_IMAGEFORMATPLUGIN
class QImageFormat;
class QImageFormatPluginPrivate;
class Q_EXPORT QImageFormatPlugin : public QGPlugin
{
Q_OBJECT
public:
QImageFormatPlugin();
~QImageFormatPlugin();
virtual QStringList keys() const = 0;
virtual bool loadImage( const QString &format, const QString &filename, QImage *image );
virtual bool saveImage( const QString &format, const QString &filename, const QImage &image );
virtual bool installIOHandler( const QString &format ) = 0;
private:
QImageFormatPluginPrivate *d;
};
#endif // QT_NO_IMAGEFORMATPLUGIN
#endif // QIMAGEFORMATPLUGIN_H