summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/ui/check_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'FreeFileSync/Source/ui/check_version.h')
-rw-r--r--FreeFileSync/Source/ui/check_version.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/FreeFileSync/Source/ui/check_version.h b/FreeFileSync/Source/ui/check_version.h
index 4ffe9726..54c068da 100644
--- a/FreeFileSync/Source/ui/check_version.h
+++ b/FreeFileSync/Source/ui/check_version.h
@@ -13,8 +13,13 @@
namespace zen
{
-void checkForUpdateNow(wxWindow* parent);
-void checkForUpdatePeriodically(wxWindow* parent, long& lastUpdateCheck, const std::function<void()>& onBeforeInternetAccess); //-1: check never
+void checkForUpdateNow(wxWindow* parent, wxString& lastOnlineVersion);
+void checkForUpdatePeriodically(wxWindow* parent, long& lastUpdateCheck, wxString& lastOnlineVersion, const std::function<void()>& onBeforeInternetAccess); //-1: check never
+
+bool updateCheckActive(long lastUpdateCheck);
+void disableUpdateCheck(long& lastUpdateCheck);
+
+bool isNewerFreeFileSyncVersion(const wxString& onlineVersion);
}
#endif // UPDATEVERSION_H_INCLUDED
bgstack15