22 #ifndef BACKENDS_UPDATES_WIN32_H 23 #define BACKENDS_UPDATES_WIN32_H 25 #include "common/scummsys.h" 27 #if defined(WIN32) && defined(USE_SPARKLE) 29 #include "common/updates.h" 31 class SdlWindow_Win32;
33 class Win32UpdateManager final :
public Common::UpdateManager {
35 Win32UpdateManager(SdlWindow_Win32 *window);
36 virtual ~Win32UpdateManager();
38 void checkForUpdates()
override;
40 void setAutomaticallyChecksForUpdates(UpdateState state)
override;
41 UpdateState getAutomaticallyChecksForUpdates()
override;
43 void setUpdateCheckInterval(
int interval)
override;
44 int getUpdateCheckInterval()
override;
46 bool getLastUpdateCheckTimeAndDate(
TimeDate &t)
override;
49 static int canShutdownCallback();
50 static void shutdownRequestCallback();
55 #endif // BACKENDS_UPDATES_WIN32_H