1 | /* This file is part of the KDE project |
2 | Copyright (C) 2003 Dominik Seichter <domseichter@web.de> |
3 | Copyright (C) 2010 Troy Unrau <troy@kde.org> |
4 | |
5 | This program is free software; you can redistribute it and/or |
6 | modify it under the terms of the Lesser GNU General Public |
7 | License as published by the Free Software Foundation; either |
8 | version 2 of the License, or (at your option) any later version. |
9 | */ |
10 | |
11 | #ifndef KIMG_RAS_H |
12 | #define KIMG_RAS_H |
13 | |
14 | #include <QtGui/QImageIOPlugin> |
15 | |
16 | class RASHandler : public QImageIOHandler |
17 | { |
18 | public: |
19 | RASHandler(); |
20 | |
21 | bool canRead() const; |
22 | bool read(QImage *image); |
23 | // bool write(const QImage &image); |
24 | |
25 | QByteArray name() const; |
26 | |
27 | static bool canRead(QIODevice *device); |
28 | }; |
29 | |
30 | #endif |
31 | |
32 | |