diff options
Diffstat (limited to 'FreeFileSync/Source/ui/check_version.h')
-rw-r--r-- | FreeFileSync/Source/ui/check_version.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/FreeFileSync/Source/ui/check_version.h b/FreeFileSync/Source/ui/check_version.h new file mode 100644 index 00000000..d2e7220f --- /dev/null +++ b/FreeFileSync/Source/ui/check_version.h @@ -0,0 +1,20 @@ +// ************************************************************************** +// * This file is part of the FreeFileSync project. It is distributed under * +// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * +// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved * +// ************************************************************************** + +#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, const std::function<void()>& onBeforeInternetAccess); //-1: check never +} + +#endif // UPDATEVERSION_H_INCLUDED |