diff options
author | Paul Gilbert | 2016-03-31 12:49:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-31 12:49:10 -0400 |
commit | 6a1b452e163a5ebdf77e4753fc647e390a48b4fb (patch) | |
tree | 93b7a5d20ae298782a8e6d631a89a682671a232b /engines/titanic/game/cdrom_tray.h | |
parent | 6d852165e97d4a22e029446b1a97417af38175fb (diff) | |
download | scummvm-rg350-6a1b452e163a5ebdf77e4753fc647e390a48b4fb.tar.gz scummvm-rg350-6a1b452e163a5ebdf77e4753fc647e390a48b4fb.tar.bz2 scummvm-rg350-6a1b452e163a5ebdf77e4753fc647e390a48b4fb.zip |
TITANIC: Work on implementing CDROM Tray class
Diffstat (limited to 'engines/titanic/game/cdrom_tray.h')
-rw-r--r-- | engines/titanic/game/cdrom_tray.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/titanic/game/cdrom_tray.h b/engines/titanic/game/cdrom_tray.h index b5c4b375fe..b1893c548e 100644 --- a/engines/titanic/game/cdrom_tray.h +++ b/engines/titanic/game/cdrom_tray.h @@ -24,13 +24,21 @@ #define TITANIC_CDROM_TRAY_H #include "titanic/core/game_object.h" +#include "titanic/messages/messages.h" namespace Titanic { -class CCDROMTray : public CGameObject { +class CCDROMTray : public CGameObject, + public CActMsgTarget, + public CMovieEndMsgTarget, + public CStatusChangeMsgTarget { public: int _state; CString _string1; +protected: + virtual bool handleMessage(CActMsg &msg); + virtual bool handleMessage(CMovieEndMsg &msg); + virtual bool handleMessage(CStatusChangeMsg &msg); public: CLASSDEF CCDROMTray(); |