UpdaterInfoParser Class Reference
+ Inheritance diagram for UpdaterInfoParser:

Public Member Functions

const QList< UpdatePackage > & packages () const
 
int parse (const QByteArray &json)
 Parses updater info JSON and sets certain internal properties which can then be accessed through getters. More...
 

Detailed Description

Definition at line 34 of file updaterinfoparser.h.

Member Function Documentation

int UpdaterInfoParser::parse ( const QByteArray &  json)

Parses updater info JSON and sets certain internal properties which can then be accessed through getters.

Information on all parsed packages can be obtained through packages() getter.

Returns
The returned value is an error code defined in AutoUpdater::ErrorCode. AutoUpdater::ErrorCode::EC_Ok is returned on success.

Definition at line 51 of file updaterinfoparser.cpp.


The documentation for this class was generated from the following files: