##// END OF EJS Templates
A lot of cleaning.
A lot of cleaning.

File last commit:

r4:b41a5ed0a855 default
r4:b41a5ed0a855 default
Show More
expxmldownloader.h
35 lines | 761 B | text/x-c | CLexer
#ifndef EXPXMLDOWNLOADER_H
#define EXPXMLDOWNLOADER_H
#include <QObject>
#include <QDomDocument>
#include <QList>
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<QDate>& daysToDownload();
signals:
public slots:
private:
void extractIntervals(QDomNode n);
void makeDownloadList();
void addDaysToDownload(QList<QDate> days);
QDomDocument* m_doc;
QList<ExpXmlDownLoaderIntervals> m_intervals;
QList<QDate> m_FilesToDownload;
};
#endif // EXPXMLDOWNLOADER_H