~ubuntu-branches/ubuntu/precise/gwenview/precise-proposed

« back to all changes in this revision

Viewing changes to lib/exiv2imageloader.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20111215141754-z043hyx69dulbggf
Tags: upstream-4.7.90
Import upstream version 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// vim: set tabstop=4 shiftwidth=4 noexpandtab:
 
1
// vim: set tabstop=4 shiftwidth=4 expandtab:
2
2
/*
3
3
Gwenview: an image viewer
4
4
Copyright 2007 Aurélien Gâteau <agateau@kde.org>
34
34
class QByteArray;
35
35
class QString;
36
36
 
37
 
namespace Gwenview {
38
 
 
 
37
namespace Gwenview
 
38
{
39
39
 
40
40
struct Exiv2ImageLoaderPrivate;
41
41
 
43
43
 * This helper class loads image using libexiv2, and takes care of exception
44
44
 * handling for the different versions of libexiv2.
45
45
 */
46
 
class Exiv2ImageLoader {
 
46
class Exiv2ImageLoader
 
47
{
47
48
public:
48
 
        Exiv2ImageLoader();
49
 
        ~Exiv2ImageLoader();
 
49
    Exiv2ImageLoader();
 
50
    ~Exiv2ImageLoader();
50
51
 
51
 
        bool load(const QByteArray&);
52
 
        QString errorMessage() const;
53
 
        Exiv2::Image::AutoPtr popImage();
 
52
    bool load(const QByteArray&);
 
53
    QString errorMessage() const;
 
54
    Exiv2::Image::AutoPtr popImage();
54
55
 
55
56
private:
56
 
        Exiv2ImageLoaderPrivate* const d;
 
57
    Exiv2ImageLoaderPrivate* const d;
57
58
};
58
59
 
59
 
 
60
60
} // namespace
61
61
 
62
62
#endif /* EXIV2IMAGELOADER_H */