summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SwifTools/AutoUpdater/SparkleAutoUpdater.h')
-rw-r--r--SwifTools/AutoUpdater/SparkleAutoUpdater.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/SwifTools/AutoUpdater/SparkleAutoUpdater.h b/SwifTools/AutoUpdater/SparkleAutoUpdater.h
index dd22e73..48b75e5 100644
--- a/SwifTools/AutoUpdater/SparkleAutoUpdater.h
+++ b/SwifTools/AutoUpdater/SparkleAutoUpdater.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2016 Isode Limited.
+ * Copyright (c) 2010-2017 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -25,7 +25,10 @@ namespace Swift {
void setAppcastFeed(const std::string& appcastFeed);
void checkForUpdates();
- bool recommendRestartToUpdate();
+ State getCurrentState();
+
+ private:
+ void setCurrentState(State updatedState);
private:
class Private;