1 #ifndef UPDATER_IMPL_PARSER_H
2 #define UPDATER_IMPL_PARSER_H
11 * Implement this interface to parse your custom manifest format
15 /// Parse your manifest and set relevant Updater properties
16 virtual void parse(const QByteArray &bytes) = 0;
18 void setUpdater(DefaultUpdater *value) { updater = value; }
19 bool hasError() const { return error; };
20 QString getErrorMessage() const { return errorMessage; };
24 DefaultUpdater *updater = nullptr;
29 } // namespace updater
31 #endif // UPDATER_IMPL_PARSER_H