aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_response_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/ad/ad_response_context.h')
-rw-r--r--engines/wintermute/ad/ad_response_context.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/wintermute/ad/ad_response_context.h b/engines/wintermute/ad/ad_response_context.h
index 14bc1abd93..dd0008a728 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);
- int _id;
- char *_context;
+ const char *getContext() const { return _context; }
+ int32 _id;
+
DECLARE_PERSISTENT(AdResponseContext, BaseClass)
AdResponseContext(BaseGame *inGame);
virtual ~AdResponseContext();
-
+private:
+ char *_context;
};
} // end of namespace Wintermute