00001 #ifndef MANIFESTPARSER_H
00002 #define MANIFESTPARSER_H
00003
00004 #include <QObject>
00005 #include <QString>
00006 #include "manifestdata.h"
00007 #include "manifestosinfo.h"
00008
00009 #define MANIFEST_IOERROR 0
00010 #define MANIFEST_XMLERROR 1
00011 #define MANIFEST_FORMATERROR 2
00012
00014 class ManifestParser : public QObject
00015 {
00016 Q_OBJECT
00017
00018 public:
00019 ManifestParser();
00020 bool parse(ManifestData *data, QString path);
00021
00022 signals:
00023 void customError(int code);
00024 };
00025
00026 #endif // MANIFESTPARSER_H