30 #ifndef _QSIMPLEUPDATER_MAIN_H 31 #define _QSIMPLEUPDATER_MAIN_H 37 #if defined (QSU_SHARED) 38 #define QSU_DECL Q_DECL_EXPORT 39 #elif defined (QSU_IMPORT) 40 #define QSU_DECL Q_DECL_IMPORT 70 void checkingFinished (
const QString& url);
71 void downloadFinished (
const QString& url,
const QString& filepath);
76 bool getNotifyOnUpdate (
const QString& url)
const;
77 bool getNotifyOnFinish (
const QString& url)
const;
78 bool getUpdateAvailable (
const QString& url)
const;
79 bool getDownloaderEnabled (
const QString& url)
const;
80 bool usesCustomInstallProcedures (
const QString& url)
const;
82 QString getChangelog (
const QString& url)
const;
83 QString getModuleName (
const QString& url)
const;
84 QString getDownloadUrl (
const QString& url)
const;
85 QString getPlatformKey (
const QString& url)
const;
86 QString getLatestVersion (
const QString& url)
const;
87 QString getModuleVersion (
const QString& url)
const;
90 void checkForUpdates (
const QString& url);
91 void setModuleName (
const QString& url,
const QString& name);
92 void setNotifyOnUpdate (
const QString& url,
const bool& notify);
93 void setNotifyOnFinish (
const QString& url,
const bool& notify);
94 void setPlatformKey (
const QString& url,
const QString& platform);
95 void setModuleVersion (
const QString& url,
const QString& version);
96 void setDownloaderEnabled (
const QString& url,
const bool& enabled);
97 void setUseCustomInstallProcedures (
const QString& url,
const bool& custom);
103 Updater* getUpdater (
const QString& url)
const;
Downloads and interprests the update definition file.
Definition: Updater.h:45
Manages the updater instances.
Definition: QSimpleUpdater.h:66