summaryrefslogtreecommitdiff
path: root/src/selfupdater.h
diff options
context:
space:
mode:
authorTanninOne <seppleviathan@gmx.de>2015-12-04 17:51:45 +0100
committerTanninOne <seppleviathan@gmx.de>2015-12-04 17:51:45 +0100
commitce38a3bd33cbc66bfe555ded60a7b1f233c17690 (patch)
tree8c17dc38cc30d4d13b1bc99f8b0938d5044de4d6 /src/selfupdater.h
parent71b8c0059280cbc506a6ae92b7c4b12a7b15126e (diff)
parentca6d7c7d11d5ecc62c8b7a825ff6b1c8bb77b75b (diff)
Merge pull request #3 from ThosRTanner/archive_cleanup
Refactoring archive library (Part 3)
Diffstat (limited to 'src/selfupdater.h')
-rw-r--r--src/selfupdater.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/selfupdater.h b/src/selfupdater.h
index 143b05cb..f804f63c 100644
--- a/src/selfupdater.h
+++ b/src/selfupdater.h
@@ -66,7 +66,7 @@ public:
* @param parent parent widget
* @todo passing the nexus interface is unneccessary
**/
- SelfUpdater(NexusInterface *nexusInterface);
+ explicit SelfUpdater(NexusInterface *nexusInterface);
virtual ~SelfUpdater();
@@ -116,10 +116,7 @@ private:
void download(const QString &downloadLink, const QString &fileName);
void installUpdate();
- void queryPassword(LPSTR password);
- void updateProgress(float percentage);
- void updateProgressFile(LPCWSTR fileName);
- void report7ZipError(LPCWSTR errorMessage);
+ void report7ZipError(const QString &errorMessage);
QString retrieveNews(const QString &description);
void showProgress();
void closeProgress();
@@ -144,7 +141,7 @@ private:
bool m_Canceled;
int m_Attempts;
- Archive *m_CurrentArchive;
+ Archive *m_ArchiveHandler;
};