diff options
author | Einar Johan Trøan Sømåen | 2013-04-17 21:43:35 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-04-18 10:13:02 +0200 |
commit | d926b47186813faed167ed7b82f879b54ff2ee3e (patch) | |
tree | 7534e96dcfcd35957523315da1d50b3de74812b7 /engines/wintermute/ad/ad_response_context.h | |
parent | e4ec07a6a1e6ad9f5f72912332ec47742b832f7f (diff) | |
download | scummvm-rg350-d926b47186813faed167ed7b82f879b54ff2ee3e.tar.gz scummvm-rg350-d926b47186813faed167ed7b82f879b54ff2ee3e.tar.bz2 scummvm-rg350-d926b47186813faed167ed7b82f879b54ff2ee3e.zip |
WINTERMUTE: Constify AdResponse/AdResponseBox/AdResponseContext.
Diffstat (limited to 'engines/wintermute/ad/ad_response_context.h')
-rw-r--r-- | engines/wintermute/ad/ad_response_context.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_response_context.h b/engines/wintermute/ad/ad_response_context.h index 14bc1abd93..f2e2a45b21 100644 --- a/engines/wintermute/ad/ad_response_context.h +++ b/engines/wintermute/ad/ad_response_context.h @@ -37,12 +37,14 @@ namespace Wintermute { class AdResponseContext : public BaseClass { public: void setContext(const char *context); + const char *getContext() const { return _context; } int _id; - char *_context; + DECLARE_PERSISTENT(AdResponseContext, BaseClass) AdResponseContext(BaseGame *inGame); virtual ~AdResponseContext(); - +private: + char *_context; }; } // end of namespace Wintermute |