// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2009 Bastian Holst // #ifndef FLICKRPARSER_H #define FLICKRPARSER_H #include #include class QByteArray; class QObject; namespace Marble { class AbstractDataPluginItem; class FlickrParser : public QXmlStreamReader { public: FlickrParser( QList *list, QObject *parent ); bool read( QByteArray data ); private: void readUnknownElement(); void readFlickr(); void readPhotos(); void readPhoto(); QList *m_list; QObject *m_parent; }; } // Marble namespace #endif // FLICKRPARSER