fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / kimgio / dds.h
blob64c43fb0305974579cb4a3f0ad680950fbb10678
1 /* This file is part of the KDE project
2 Copyright (C) 2003 Ignacio CastaƱo <castano@ludicon.com>
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the Lesser GNU General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8 */
10 #ifndef KIMG_DDS_H
11 #define KIMG_DDS_H
13 #include <QtGui/QImageIOPlugin>
15 class DDSHandler : public QImageIOHandler
17 public:
18 DDSHandler();
20 bool canRead() const;
21 bool read(QImage *image);
22 bool write(const QImage &image);
24 QByteArray name() const;
26 static bool canRead(QIODevice *device);
29 #endif