aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/symbian
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-03 00:25:06 +0000
committerAlejandro Marzini2010-07-03 00:25:06 +0000
commit4e50b23005b1f27d7598b7dc1373a00cd0175e65 (patch)
treeab8b1c5cd40991d41bdba05a43a6fd7a01cf680a /backends/platform/symbian
parentfda9416cc8b64fa7371b7a9989def9cc318efc7e (diff)
downloadscummvm-rg350-4e50b23005b1f27d7598b7dc1373a00cd0175e65.tar.gz
scummvm-rg350-4e50b23005b1f27d7598b7dc1373a00cd0175e65.tar.bz2
scummvm-rg350-4e50b23005b1f27d7598b7dc1373a00cd0175e65.zip
Cleanup and documentation.
svn-id: r50610
Diffstat (limited to 'backends/platform/symbian')
-rw-r--r--backends/platform/symbian/src/SymbianOS.cpp3
-rw-r--r--backends/platform/symbian/src/SymbianOS.h49
2 files changed, 26 insertions, 26 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp
index abb067e60b..3a0dc318b3 100644
--- a/backends/platform/symbian/src/SymbianOS.cpp
+++ b/backends/platform/symbian/src/SymbianOS.cpp
@@ -71,9 +71,6 @@ OSystem_SDL_Symbian::OSystem_SDL_Symbian()
}
-OSystem_SDL_Symbian::~OSystem_SDL_Symbian() {
-}
-
void OSystem_SDL_Symbian::init() {
_RFs = &CEikonEnv::Static()->FsSession();
_fsFactory = new SymbianFilesystemFactory();
diff --git a/backends/platform/symbian/src/SymbianOS.h b/backends/platform/symbian/src/SymbianOS.h
index 6c89779e89..e5f4ea44d0 100644
--- a/backends/platform/symbian/src/SymbianOS.h
+++ b/backends/platform/symbian/src/SymbianOS.h
@@ -32,39 +32,40 @@ class RFs;
class OSystem_SDL_Symbian : public OSystem_SDL {
public:
OSystem_SDL_Symbian();
- ~OSystem_SDL_Symbian();
- // Overloaded from OSystem_SDL
- void init();
- void initBackend();
- void quit();
- void engineInit();
- void engineDone();
- bool setGraphicsMode(const char *name);
- Common::String getDefaultConfigFileName();
- void setupIcon();
+ // Override from OSystem_SDL
+ virtual void init();
+ virtual void initBackend();
+ virtual void quit();
+ virtual void engineInit();
+ virtual void engineDone();
+ virtual bool setGraphicsMode(const char *name);
+ virtual Common::String getDefaultConfigFileName();
+ virtual void setupIcon();
- // Returns reference to File session
+ /**
+ * Returns reference to File session
+ */
RFs& FsSession();
void quitWithErrorMsg(const char *msg);
- // vibration support
+ // Vibration support
#ifdef USE_VIBRA_SE_PXXX
- //
- // Intialize the vibration api used if present and supported
- //
+ /**
+ * Intialize the vibration api used if present and supported
+ */
void initializeVibration();
- //
- // Turn vibration on, repeat no time
- // @param vibraLength number of repetitions
- //
+ /**
+ * Turn vibration on, repeat no time
+ * @param vibraLength number of repetitions
+ */
void vibrationOn(int vibraLength);
- //
- // Turns the vibration off
- //
+ /**
+ * Turns the vibration off
+ */
void vibrationOff();
protected:
@@ -72,7 +73,9 @@ protected:
#endif // USE_VIBRA_SE_PXXX
protected:
- // Used to intialized special game mappings
+ /**
+ * Used to intialized special game mappings
+ */
void checkMappings();
RFs* _RFs;