1 | /* This file is part of the KDE project |
2 | Copyright (C) 2003 Ignacio CastaƱo <castano@ludicon.com> |
3 | |
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 | */ |
9 | |
10 | #ifndef KIMG_PSD_H |
11 | #define KIMG_PSD_H |
12 | |
13 | #include <QtGui/QImageIOPlugin> |
14 | |
15 | class PSDHandler : public QImageIOHandler |
16 | { |
17 | public: |
18 | PSDHandler(); |
19 | |
20 | bool canRead() const; |
21 | bool read(QImage *image); |
22 | bool write(const QImage &image); |
23 | |
24 | QByteArray name() const; |
25 | |
26 | static bool canRead(QIODevice *device); |
27 | }; |
28 | |
29 | #endif |
30 | |
31 | |