1 | /* |
2 | Copyright (C) 2009 Canonical |
3 | Author: Aurélien Gâteau <aurelien.gateau@canonical.com> |
4 | |
5 | This program is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Lesser General Public License as published by |
7 | the Free Software Foundation, either version 2 or 3 of the License. |
8 | |
9 | This program is distributed in the hope that it will be useful, but |
10 | WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser |
12 | General Public License for more details. |
13 | |
14 | You should have received a copy of the GNU Lesser General Public License |
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ |
17 | #ifndef IMAGECONVERTER_H |
18 | #define IMAGECONVERTER_H |
19 | |
20 | class QVariant; |
21 | class QImage; |
22 | |
23 | namespace ImageConverter |
24 | { |
25 | |
26 | /** |
27 | * Returns a variant representing an image using the format describe in the |
28 | * galago spec |
29 | */ |
30 | QVariant variantForImage(const QImage &image); |
31 | |
32 | } // namespace |
33 | |
34 | #endif /* IMAGECONVERTER_H */ |
35 | |