summaryrefslogtreecommitdiff
path: root/ui/check_version.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:09 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:09 +0200
commit110fc5dee14fc7988f631a158e50d283446aba7a (patch)
tree7c19dfd3bdb8c4636409ec80a38c70499ac006db /ui/check_version.h
parent5.14 (diff)
downloadFreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.gz
FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.bz2
FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.zip
5.15
Diffstat (limited to 'ui/check_version.h')
-rw-r--r--ui/check_version.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/check_version.h b/ui/check_version.h
index a61cc98c..d2e7220f 100644
--- a/ui/check_version.h
+++ b/ui/check_version.h
@@ -7,14 +7,14 @@
#ifndef UPDATEVERSION_H_INCLUDED
#define UPDATEVERSION_H_INCLUDED
+#include <functional>
#include <wx/window.h>
namespace zen
{
void checkForUpdateNow(wxWindow* parent);
-
-void checkForUpdatePeriodically(wxWindow* parent, long& lastUpdateCheck);
+void checkForUpdatePeriodically(wxWindow* parent, long& lastUpdateCheck, const std::function<void()>& onBeforeInternetAccess); //-1: check never
}
#endif // UPDATEVERSION_H_INCLUDED
bgstack15