aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_quick_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/base/base_quick_msg.h')
-rw-r--r--engines/wintermute/base/base_quick_msg.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/wintermute/base/base_quick_msg.h b/engines/wintermute/base/base_quick_msg.h
index 67f9613461..0d342b3b12 100644
--- a/engines/wintermute/base/base_quick_msg.h
+++ b/engines/wintermute/base/base_quick_msg.h
@@ -29,18 +29,19 @@
#ifndef WINTERMUTE_BASE_QUICKMSG_H
#define WINTERMUTE_BASE_QUICKMSG_H
-#include "engines/wintermute/base/base.h"
+#include "common/str.h"
namespace Wintermute {
-
-class BaseQuickMsg : public BaseClass {
+class BaseGame;
+class BaseQuickMsg {
public:
- char *getText();
+ const char *getText() const;
uint32 _startTime;
BaseQuickMsg(BaseGame *inGame, const char *text);
virtual ~BaseQuickMsg();
private:
- char *_text;
+ BaseGame *_gameRef;
+ Common::String _text;
};
} // end of namespace Wintermute