From 1069be7f9bb6aefef5feebeca6f6d4d2936d8677 Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Wed, 23 Jun 2010 21:00:21 +0000 Subject: Reversing modification by mistake from r50191. svn-id: r50192 --- backends/platform/symbian/src/SymbianOS.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'backends/platform') diff --git a/backends/platform/symbian/src/SymbianOS.h b/backends/platform/symbian/src/SymbianOS.h index 00b8ec12f2..42929f8029 100644 --- a/backends/platform/symbian/src/SymbianOS.h +++ b/backends/platform/symbian/src/SymbianOS.h @@ -42,20 +42,35 @@ public: */ virtual void initBackend(); + int getDefaultGraphicsMode() const; + const OSystem::GraphicsMode *getSupportedGraphicsModes() const; + bool setGraphicsMode(const char *name); void quitWithErrorMsg(const char *msg); - virtual bool hasFeature(Feature f); void setFeatureState(Feature f, bool enable); + // Set function that generates samples + // + // This function is overridden by the symbian port in order to provide MONO audio + // downmix is done by supplying our own audiocallback + // + virtual void setupMixer(); // overloaded by CE backend + // Overloaded from SDL_Commmon void quit(); // Returns reference to File session RFs& FsSession(); +protected: + // + // The mixer callback function. + // + static void symbianMixCallback(void *s, byte *samples, int len); + virtual Common::SeekableReadStream *createConfigReadStream(); virtual Common::WriteStream *createConfigWriteStream(); - +public: // vibration support #ifdef USE_VIBRA_SE_PXXX // -- cgit v1.2.3