diff options
author | Andrew <forkk@forkk.net> | 2013-12-04 12:34:12 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-12-04 12:34:12 -0600 |
commit | bf94aaea7527a8f5b9f3b8c1ab6ff4e88cbd748f (patch) | |
tree | c5da1162598f91853555c580bdba6b778dfc1ac0 /logic/GoUpdate.h | |
parent | 6aa9bd0f77dcb5128167fae62e32aa5252fe85c6 (diff) | |
download | MultiMC-bf94aaea7527a8f5b9f3b8c1ab6ff4e88cbd748f.tar MultiMC-bf94aaea7527a8f5b9f3b8c1ab6ff4e88cbd748f.tar.gz MultiMC-bf94aaea7527a8f5b9f3b8c1ab6ff4e88cbd748f.tar.lz MultiMC-bf94aaea7527a8f5b9f3b8c1ab6ff4e88cbd748f.tar.xz MultiMC-bf94aaea7527a8f5b9f3b8c1ab6ff4e88cbd748f.zip |
Rework the update checking system
Diffstat (limited to 'logic/GoUpdate.h')
-rw-r--r-- | logic/GoUpdate.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/logic/GoUpdate.h b/logic/GoUpdate.h deleted file mode 100644 index 756a71cf..00000000 --- a/logic/GoUpdate.h +++ /dev/null @@ -1,43 +0,0 @@ -#pragma once -#include "net/NetJob.h" - -class GoUpdate : public QObject -{ - Q_OBJECT - -public: - struct version_channel - { - QString id; - QString name; - int latestVersion; - }; - - struct version_summary - { - int id; - QString name; - }; - -signals: - void updateAvailable(); - -private slots: - void updateCheckFinished(); - void updateCheckFailed(); - -public: - GoUpdate(); - void checkForUpdate(); -private: - NetJobPtr index_job; - NetJobPtr fromto_job; - - QString repoUrlBase; - QString builderName; - int currentBuildIndex; - int newBuildIndex = -1; - - QList<version_summary> versions; - QList<version_channel> channels; -}; |