summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-14 14:47:59 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-14 14:47:59 +0100
commit8dc6eb0cda751e7d052dc4f7efade809cb42b98e (patch)
treeb831aca9360a44bcbc00c116fab91cca73af0ca8 /device.h
parent63e2507b15db3b795f362200a0ee7c81b1fd430c (diff)
downloadvdr-8dc6eb0cda751e7d052dc4f7efade809cb42b98e.tar.gz
vdr-8dc6eb0cda751e7d052dc4f7efade809cb42b98e.tar.bz2
Added some missing 'const' to cDevice
Diffstat (limited to 'device.h')
-rw-r--r--device.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.h b/device.h
index c7f2640f..9a459345 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 2.32 2012/01/18 12:12:49 kls Exp $
+ * $Id: device.h 2.33 2012/02/14 14:42:42 kls Exp $
*/
#ifndef __DEVICE_H
@@ -498,11 +498,11 @@ public:
///< is more than one audio track.
int NumSubtitleTracks(void) const;
///< Returns the number of subtitle tracks that are currently available.
- eTrackType GetCurrentAudioTrack(void) { return currentAudioTrack; }
+ eTrackType GetCurrentAudioTrack(void) const { return currentAudioTrack; }
bool SetCurrentAudioTrack(eTrackType Type);
///< Sets the current audio track to the given Type.
///< \return Returns true if Type is a valid audio track, false otherwise.
- eTrackType GetCurrentSubtitleTrack(void) { return currentSubtitleTrack; }
+ eTrackType GetCurrentSubtitleTrack(void) const { return currentSubtitleTrack; }
bool SetCurrentSubtitleTrack(eTrackType Type, bool Manual = false);
///< Sets the current subtitle track to the given Type.
///< IF Manual is true, no automatic preferred subtitle language selection