Public Types | |
enum | ErrorCode { EC_Ok, EC_NothingToUpdate, EC_UpdatePackageMissing, EC_ProcessStartFailure } |
enum | ProcessErrorCode { PEC_Ok, PEC_UnableToReadUpdateScript = 1, PEC_NoInstallationDirectorySpecified = 2, PEC_UnableToDeterminePathOfUpdater = 3, PEC_GeneralFailure = 10000 } |
"--update-failed" values. More... | |
Public Member Functions | |
UpdateInstaller (QObject *pParent=nullptr) | |
ErrorCode | startInstallation () |
Starts update process. More... | |
Static Public Member Functions | |
static QString | errorCodeToStr (ErrorCode code) |
static QString | processErrorCodeToStr (ProcessErrorCode code) |
Definition at line 29 of file updateinstaller.h.
Enumerator | |
---|---|
EC_Ok |
Update started properly. |
EC_NothingToUpdate |
No update needed. |
Definition at line 46 of file updateinstaller.h.
"--update-failed" values.
Definition at line 37 of file updateinstaller.h.
UpdateInstaller::ErrorCode UpdateInstaller::startInstallation | ( | ) |
Starts update process.
Checks if UPDATER_SCRIPT_FILENAME exists and launches updater program.
Definition at line 137 of file updateinstaller.cpp.