33#include <NDEVR/SoftwareService.h>
34#include <NDEVR/ItemDownloader.h>
35#include <NDEVR/File.h>
36#include <NDEVR/String.h>
37#include <NDEVR/Time.h>
38#include <NDEVR/TimeSpan.h>
39#include <NDEVR/INIFactory.h>
54 , e_update_available_to_download
55 , e_update_available_to_install
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
Contains methods for easily reading and writing to an INI file including efficient casting,...
Definition INIReader.h:68
Used for Downloading resources from a network.
Definition ItemDownloader.h:120
Software Services provide an interface for adding to or changing the software behavior via functional...
Definition SoftwareService.h:9
Software Service Managers take a Software service to modify the behavior of the software.
Definition SoftwareService.h:15
The core String class for the NDEVR API.
Definition String.h:69
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
Stores a time span, or difference between two times, with an optional start time.
Definition TimeSpan.h:46
Provides place to set an update checker for checking for software updates.
Definition UpdateChecker.h:117
static void SetApplicationUpdateChecker(UpdateChecker *checker)
static Time CompileTime()
static UpdateChecker * ApplicationUpdateChecker()
Provides logic for checking a source, typically online, for an update to the software.
Definition UpdateChecker.h:47
virtual void onCheckForUpdateComplete()
Definition UpdateChecker.h:99
virtual String updateVersion() const
Definition UpdateChecker.h:72
UpdateStatus
Definition UpdateChecker.h:51
String m_update_file_name
Definition UpdateChecker.h:106
virtual bool requestInstallUpdate(bool wait_for_completion=false)
ItemDownloader * m_downloader
Definition UpdateChecker.h:102
void showUpdateDialogIfNeeded()
Time m_last_application_update_check
Definition UpdateChecker.h:107
virtual String updateURLDownload() const
Definition UpdateChecker.h:74
void percentChangedSignal()
void statusChangedSignal()
virtual void requestCheckForUpdate(const String ¤t_version="")=0
virtual void createUpdateFile(const String &installer_url, File output_location)
File m_download_location
Definition UpdateChecker.h:101
void updateDownloadCompletedSignal(const File &location)
void onUpdateDownloadCompleteSlot()
fltp08 downloadPercent() const
virtual bool updateRequiresApplicationClose() const
ReleaseChannel
Definition UpdateChecker.h:59
void checkForUpdateCompletedSignal(UpdateStatus update)
void setUpdateStatus(UpdateStatus status)
void setMaxNoUpdateTime(const TimeSpan &max_no_update_check_time)
virtual INIFactory getINI()
String m_update_version
Definition UpdateChecker.h:103
virtual String updateName() const
Definition UpdateChecker.h:71
String m_current_version
Definition UpdateChecker.h:105
virtual bool updateSupported() const
TimeSpan m_max_no_update_time
Definition UpdateChecker.h:108
uint08 currentDownloadSize() const
void checkForUpdateCompleteSlot()
String m_update_url
Definition UpdateChecker.h:104
UpdateStatus updateStatus() const
Time lastUpdateCheckTime() const
virtual String defaultURLPathName() const
virtual void processUpdateString(const String &s)
UpdateChecker(String update_version)
uint08 totalDownloadSize() const
virtual String updateURLPage() const =0
virtual bool requstDownloadUpdate()
uint64_t uint08
-Defines an alias representing an 8 byte, unsigned integer
Definition BaseValues.hpp:106
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149