aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/subtitle_card.h
diff options
context:
space:
mode:
authorTobia Tesan2014-02-22 11:37:56 +0100
committerTobia Tesan2014-10-15 21:36:46 +0200
commit578edde66fc87eb1d4f630cbd1a9e402172440fa (patch)
tree6e35912de8311178eb20349ad4e6d036a99a011f /engines/wintermute/video/subtitle_card.h
parent856e281bf17a7adca88ded8bc93fd2e892bfa973 (diff)
downloadscummvm-rg350-578edde66fc87eb1d4f630cbd1a9e402172440fa.tar.gz
scummvm-rg350-578edde66fc87eb1d4f630cbd1a9e402172440fa.tar.bz2
scummvm-rg350-578edde66fc87eb1d4f630cbd1a9e402172440fa.zip
WINTERMUTE: Const'fy members of class SubtitleCard
Diffstat (limited to 'engines/wintermute/video/subtitle_card.h')
-rw-r--r--engines/wintermute/video/subtitle_card.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/wintermute/video/subtitle_card.h b/engines/wintermute/video/subtitle_card.h
index 6f2e47fe2b..7b372c76ad 100644
--- a/engines/wintermute/video/subtitle_card.h
+++ b/engines/wintermute/video/subtitle_card.h
@@ -38,13 +38,13 @@ class BaseGame;
class SubtitleCard {
public:
SubtitleCard(BaseGame *inGame, const Common::String &text, const uint &startFrame, const uint &endFrame);
- uint32 getEndFrame();
- uint32 getStartFrame();
- Common::String getText();
+ uint32 getEndFrame() const;
+ uint32 getStartFrame() const;
+ Common::String getText() const;
private:
- BaseGame* _gameRef;
- uint32 _endFrame;
- uint32 _startFrame;
+ const BaseGame* _gameRef;
+ const uint32 _endFrame;
+ const uint32 _startFrame;
Common::String _text;
};