diff options
author | Oystein Eftevaag | 2011-08-02 16:09:58 -0700 |
---|---|---|
committer | Oystein Eftevaag | 2011-08-02 16:09:58 -0700 |
commit | 9044e17499797ef007c9c8240d79f69382f61765 (patch) | |
tree | b686c9fc28f0d2eae4c0db3ff98687f43556066a /backends/platform/sdl/macosx/macosx.cpp | |
parent | 8f70ee9afc877b22123269669d155e710a467c4b (diff) | |
parent | efd9dff55662e1c0c4c794ed8f0143a87cc5fa0d (diff) | |
download | scummvm-rg350-9044e17499797ef007c9c8240d79f69382f61765.tar.gz scummvm-rg350-9044e17499797ef007c9c8240d79f69382f61765.tar.bz2 scummvm-rg350-9044e17499797ef007c9c8240d79f69382f61765.zip |
Merge pull request #52 from CeRiAl/macosx-sparkle
MACOSX: Add Sparkle support
Diffstat (limited to 'backends/platform/sdl/macosx/macosx.cpp')
-rw-r--r-- | backends/platform/sdl/macosx/macosx.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp index ddfc99570a..39fd4237ec 100644 --- a/backends/platform/sdl/macosx/macosx.cpp +++ b/backends/platform/sdl/macosx/macosx.cpp @@ -30,6 +30,7 @@ #include "backends/platform/sdl/macosx/macosx.h" #include "backends/mixer/doublebuffersdl/doublebuffersdl-mixer.h" #include "backends/platform/sdl/macosx/appmenu_osx.h" +#include "backends/updates/macosx/macosx-updates.h" #include "common/archive.h" #include "common/config-manager.h" @@ -63,6 +64,11 @@ void OSystem_MacOSX::initBackend() { // Replace the SDL generated menu items with our own translated ones on Mac OS X replaceApplicationMenuItems(); +#if defined(USE_SPARKLE) + // Initialize updates manager + _updateManager = new MacOSXUpdateManager(); +#endif + // Invoke parent implementation of this method OSystem_POSIX::initBackend(); } |