aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/input_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/input_handler.h')
-rw-r--r--engines/titanic/input_handler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/input_handler.h b/engines/titanic/input_handler.h
index 1bc6dc9fe7..461011f63e 100644
--- a/engines/titanic/input_handler.h
+++ b/engines/titanic/input_handler.h
@@ -31,6 +31,11 @@ namespace Titanic {
class CGameManager;
class CInputHandler {
+private:
+ /**
+ * Process and dispatch a passed message
+ */
+ void processMessage(const CMessage &msg);
public:
CGameManager *_gameManager;
CInputTranslator *_inputTranslator;
@@ -56,6 +61,11 @@ public:
* Decrement the lock count on the input handler
*/
void decLockCount();
+
+ /**
+ * Handles a genereated mouse message
+ */
+ void handleMessage(const CMessage &msg, bool respectLock = true);
};
} // End of namespace Titanic