aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/handlers/handler_mgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/objects/handlers/handler_mgr.h')
-rw-r--r--engines/pink/objects/handlers/handler_mgr.h49
1 files changed, 42 insertions, 7 deletions
diff --git a/engines/pink/objects/handlers/handler_mgr.h b/engines/pink/objects/handlers/handler_mgr.h
index 978f8d91b3..0de44cf004 100644
--- a/engines/pink/objects/handlers/handler_mgr.h
+++ b/engines/pink/objects/handlers/handler_mgr.h
@@ -1,14 +1,49 @@
-//
-// Created by andrei on 3/21/18.
-//
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
-#ifndef SCUMMVM_HANDLER_MGR_H
-#define SCUMMVM_HANDLER_MGR_H
+#ifndef PINK_HANDLER_MGR_H
+#define PINK_HANDLER_MGR_H
+#include <engines/pink/objects/object.h>
+#include <common/array.h>
-class HandlerMgr {
+namespace Pink {
+class HandlerLeftClick;
+class HandlerUseClick;
+class HandlerTimer;
+
+class HandlerMgr : public Object {
+public:
+ virtual void deserialize(Archive &archive);
+
+ virtual void toConsole();
+
+private:
+ Common::Array<HandlerLeftClick*> _leftClickHandlers;
+ Common::Array<HandlerUseClick*> _useClickHandlers;
+ Common::Array<HandlerTimer*> _timerHandlers;
};
+}
-#endif //SCUMMVM_HANDLER_MGR_H
+#endif