14 #if defined(QSU_SHARED)
15 # define QSU_DECL Q_DECL_EXPORT
16 #elif defined(QSU_IMPORT)
17 # define QSU_DECL Q_DECL_IMPORT
55 bool usesCustomAppcast(
const QString &url)
const;
56 bool getNotifyOnUpdate(
const QString &url)
const;
57 bool getNotifyOnFinish(
const QString &url)
const;
58 bool getUpdateAvailable(
const QString &url)
const;
59 bool getDownloaderEnabled(
const QString &url)
const;
60 bool usesCustomInstallProcedures(
const QString &url)
const;
62 QString getOpenUrl(
const QString &url)
const;
63 QString getChangelog(
const QString &url)
const;
64 QString getModuleName(
const QString &url)
const;
65 QString getDownloadUrl(
const QString &url)
const;
66 QString getPlatformKey(
const QString &url)
const;
67 QString getLatestVersion(
const QString &url)
const;
68 QString getModuleVersion(
const QString &url)
const;
69 QString getUserAgentString(
const QString &url)
const;
72 void checkForUpdates(
const QString &url);
73 void setModuleName(
const QString &url,
const QString &
name);
74 void setNotifyOnUpdate(
const QString &url,
const bool notify);
75 void setNotifyOnFinish(
const QString &url,
const bool notify);
76 void setPlatformKey(
const QString &url,
const QString &platform);
77 void setModuleVersion(
const QString &url,
const QString &
version);
78 void setDownloaderEnabled(
const QString &url,
const bool enabled);
79 void setUserAgentString(
const QString &url,
const QString &agent);
80 void setUseCustomAppcast(
const QString &url,
const bool customAppcast);
81 void setUseCustomInstallProcedures(
const QString &url,
const bool custom);
82 void setMandatoryUpdate(
const QString &url,
const bool mandatory_update);
88 Updater *getUpdater(
const QString &url)
const;
Manages the updater instances.
void appcastDownloaded(const QString &url, const QByteArray &data)
void checkingFinished(const QString &url)
void downloadFinished(const QString &url, const QString &filepath)
Downloads and interprests the update definition file.