From 8b3a08047ca69830128ef703527ea281f49ec53b Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 22 May 2016 18:52:33 +0300 Subject: UPDATES: Add support for WinSparkle --- backends/platform/sdl/win32/win32.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backends/platform/sdl') diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp index fbab7eb782..fcc0849624 100644 --- a/backends/platform/sdl/win32/win32.cpp +++ b/backends/platform/sdl/win32/win32.cpp @@ -41,6 +41,7 @@ #include "backends/saves/windows/windows-saves.h" #include "backends/fs/windows/windows-fs-factory.h" #include "backends/taskbar/win32/win32-taskbar.h" +#include "backends/updates/win32/win32-updates.h" #include "common/memstream.h" @@ -82,6 +83,11 @@ void OSystem_Win32::initBackend() { if (_savefileManager == 0) _savefileManager = new WindowsSaveFileManager(); +#if defined(USE_SPARKLE) + // Initialize updates manager + _updateManager = new Win32UpdateManager(); +#endif + // Invoke parent implementation of this method OSystem_SDL::initBackend(); } -- cgit v1.2.3