+EventHandler::EventHandler()
+{
+ this->IOHook = NULL;
+}
+
+bool EventHandler::AddIOHook(Module *IOHooker)
+{
+ if (this->IOHook)
+ return false;
+
+ this->IOHook = IOHooker;
+ return true;
+}
+
+bool EventHandler::DelIOHook()
+{
+ if (!this->IOHook)
+ return false;
+
+ this->IOHook = NULL;
+ return true;
+}
+
+Module *EventHandler::GetIOHook()
+{
+ return this->IOHook;
+}
+