aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src/cdaudio.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/PalmOS/Src/cdaudio.h')
-rw-r--r--backends/PalmOS/Src/cdaudio.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/PalmOS/Src/cdaudio.h b/backends/PalmOS/Src/cdaudio.h
index 10c34b64d0..b644bee74b 100644
--- a/backends/PalmOS/Src/cdaudio.h
+++ b/backends/PalmOS/Src/cdaudio.h
@@ -19,7 +19,7 @@
* $Header$
*
*/
-
+
#ifndef CDAUDIO_H
#define CDAUDIO_H
@@ -34,7 +34,7 @@
#define FROM_SEC(secs) ((UInt32)((secs) * 1000))
class CDAudio {
-public:
+public:
CDAudio() {
_isInitialized = false;
_volumeLevel = 100;
@@ -42,7 +42,7 @@ public:
virtual bool init() = 0;
virtual void release() = 0;
-
+
// OSystem functions
virtual bool poll() = 0;
virtual void play(int track, int num_loops, int start_frame, int duration) = 0;
@@ -51,7 +51,7 @@ public:
// volume in percent
virtual void setVolume(int volume) { _volumeLevel = volume; }
- virtual int getVolume() { return _volumeLevel; }
+ virtual int getVolume() const { return _volumeLevel; }
virtual void upVolume(int value) {};
virtual void downVolume(int value) {};
@@ -61,4 +61,4 @@ protected:
bool _isInitialized;
};
-#endif \ No newline at end of file
+#endif