summaryrefslogtreecommitdiff
path: root/ui/check_version.h
blob: d2e7220f35002ddcedd5eac88ccbf67403d9b159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
bgstack15