aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-11-26 00:51:42 +0000
committerJohannes Schickel2010-11-26 00:51:42 +0000
commit425f28405036a0ee6422fe848476561100ade6ab (patch)
treee09cd402080897c5920bc311a8fc3c23778d234e /backends/platform/sdl/sdl.h
parente793d62c8d5f6406f9ff78dce8d8c7972458463f (diff)
downloadscummvm-rg350-425f28405036a0ee6422fe848476561100ade6ab.tar.gz
scummvm-rg350-425f28405036a0ee6422fe848476561100ade6ab.tar.bz2
scummvm-rg350-425f28405036a0ee6422fe848476561100ade6ab.zip
SDL: Hook up file logger to log on UNIX-like systems.
As discussed on -devel this always logs to ~/.scummvm/logs/scummvm.log. svn-id: r54489
Diffstat (limited to 'backends/platform/sdl/sdl.h')
-rw-r--r--backends/platform/sdl/sdl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h
index 9af8885283..7fc46dacb1 100644
--- a/backends/platform/sdl/sdl.h
+++ b/backends/platform/sdl/sdl.h
@@ -33,6 +33,7 @@
#endif
#include "backends/base-backend.h"
+#include "backends/log/log.h"
#include "graphics/scaler.h"
@@ -447,6 +448,10 @@ protected:
Common::SaveFileManager *_savefile;
Audio::MixerImpl *_mixer;
+ // Logging
+ virtual Common::WriteStream *createLogFile();
+ Backends::Log::Log *_logger;
+
SDL_TimerID _timerID;
Common::TimerManager *_timer;