YAPOG  0.0.1
Yet Another Pokemon Online Game
IEventHandler.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_IEVENTHANDLER_HPP
2 # define YAPOG_IEVENTHANDLER_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
11  {
12  virtual ~IEventHandler () {}
13 
19  virtual bool OnEvent (const GuiEvent& guiEvent) = 0;
20 
26  virtual bool OnPriorityEvent (const GuiEvent& guiEvent) = 0;
27  };
28 } // namespace yap
29 
30 #endif // YAPOG_IEVENTHANDLER_HPP