API Documentation
|
Provides logic for checking a source, typically online, for an update to the software. More...
#include <UpdateChecker.h>
Public Types | |
enum | ReleaseChannel { e_alpha = 0 , e_beta = 1 , e_release = 2 , e_lts_release = 3 } |
enum | UpdateStatus { e_need_to_check , e_no_new_updates , e_update_available_to_download , e_update_available_to_install , e_could_not_connect } |
Signals | |
void | checkForUpdateCompletedSignal (UpdateStatus update) |
void | percentChangedSignal () |
void | statusChangedSignal () |
void | updateDownloadCompletedSignal (const File &location) |
Public Member Functions | |
void | appStartupCheck () |
virtual void | createUpdateFile (const String &installer_url, File output_location) |
uint08 | currentDownloadSize () const |
virtual String | defaultURLPathName () const |
fltp08 | downloadPercent () const |
virtual INIFactory | getINI () |
Time | lastUpdateCheckTime () const |
virtual void | processUpdateString (const String &s) |
virtual void | requestCheckForUpdate (const String ¤t_version="")=0 |
virtual bool | requestInstallUpdate (bool wait_for_completion=false) |
virtual bool | requstDownloadUpdate () |
void | setMaxNoUpdateTime (const TimeSpan &max_no_update_check_time) |
void | setUpdateStatus (UpdateStatus status) |
void | showUpdateDialogIfNeeded () |
uint08 | totalDownloadSize () const |
UpdateChecker () | |
UpdateChecker (String update_version) | |
File | updateFile () const |
virtual String | updateName () const |
virtual bool | updateRequiresApplicationClose () const |
UpdateStatus | updateStatus () const |
virtual bool | updateSupported () const |
virtual String | updateURLDownload () const |
virtual String | updateURLPage () const =0 |
virtual String | updateVersion () const |
Protected Slots | |
void | checkForUpdateCompleteSlot () |
void | onUpdateDownloadCompleteSlot () |
Protected Member Functions | |
virtual void | onCheckForUpdateComplete () |
Provides logic for checking a source, typically online, for an update to the software.
enum ReleaseChannel |
enum UpdateStatus |
UpdateChecker | ( | ) |
UpdateChecker | ( | String | update_version | ) |
void appStartupCheck | ( | ) |
|
signal |
|
protectedslot |
uint08 currentDownloadSize | ( | ) | const |
|
virtual |
fltp08 downloadPercent | ( | ) | const |
|
virtual |
Time lastUpdateCheckTime | ( | ) | const |
|
inlineprotectedvirtual |
Reimplemented in NDEVRUpdateChecker.
|
protectedslot |
|
signal |
|
virtual |
|
pure virtual |
Implemented in NDEVRUpdateChecker.
|
virtual |
|
virtual |
void setMaxNoUpdateTime | ( | const TimeSpan & | max_no_update_check_time | ) |
void setUpdateStatus | ( | UpdateStatus | status | ) |
void showUpdateDialogIfNeeded | ( | ) |
|
signal |
uint08 totalDownloadSize | ( | ) | const |
|
signal |
File updateFile | ( | ) | const |
|
inlinevirtual |
|
virtual |
UpdateStatus updateStatus | ( | ) | const |
|
virtual |
|
inlinevirtual |
|
pure virtual |
Implemented in NDEVRUpdateChecker.
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |