#ifndef EXPXMLDOWNLOADER_H #define EXPXMLDOWNLOADER_H #include #include #include typedef struct ExpXmlDownLoaderIntervals { QString date; QString start; QString stop; }ExpXmlDownLoaderIntervals; class ExpXmlDownLoader : public QObject { Q_OBJECT public: explicit ExpXmlDownLoader(QObject *parent = 0); ~ExpXmlDownLoader(); bool parseXml(const QString& fileName); const QList& daysToDownload(); signals: public slots: private: void extractIntervals(QDomNode n); void makeDownloadList(); void addDaysToDownload(QList days); QDomDocument* m_doc; QList m_intervals; QList m_FilesToDownload; }; #endif // EXPXMLDOWNLOADER_H