diff options
author | Alejandro Marzini | 2010-06-27 05:12:37 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-06-27 05:12:37 +0000 |
commit | 936f5585794972bb76b25164890315786dbe3401 (patch) | |
tree | aa62535f9a9d2cf760ea18f4c869871ea053ed66 /backends/platform/sdl/sdl.h | |
parent | 62ac3982aa5ba81a29ff4bf5b1ac1e3d2647eb9b (diff) | |
download | scummvm-rg350-936f5585794972bb76b25164890315786dbe3401.tar.gz scummvm-rg350-936f5585794972bb76b25164890315786dbe3401.tar.bz2 scummvm-rg350-936f5585794972bb76b25164890315786dbe3401.zip |
Improved getDefaultConfigFileName(). Code cleanup.
svn-id: r50364
Diffstat (limited to 'backends/platform/sdl/sdl.h')
-rw-r--r-- | backends/platform/sdl/sdl.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h index 53b38d1dd6..c61b8c810f 100644 --- a/backends/platform/sdl/sdl.h +++ b/backends/platform/sdl/sdl.h @@ -60,8 +60,6 @@ public: virtual Common::SeekableReadStream *createConfigReadStream(); virtual Common::WriteStream *createConfigWriteStream(); - virtual SdlGraphicsManager *getGraphicsManager(); - virtual bool pollEvent(Common::Event &event); virtual uint32 getMillis(); @@ -70,16 +68,24 @@ public: virtual Audio::Mixer *getMixer(); + // Get the Graphics Manager instance, used by other managers + virtual SdlGraphicsManager *getGraphicsManager(); + protected: bool _inited; bool _initedSDL; + + // Mixer manager that encapsulates the actual Audio::Mixer SdlMixerManager *_mixerManager; + // Initialze SDL library virtual void initSDL(); + // Setup the window icon virtual void setupIcon(); - virtual const char *getConfigFileNameString(); + // Get the file path where the user configuration + // of ScummVM will be saved virtual Common::String getDefaultConfigFileName(); }; |