PolyEventHandler.h 594 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * PolyEventHandler.h
  3. * Poly
  4. *
  5. * Created by Ivan Safrin on 3/28/08.
  6. * Copyright 2008 __MyCompanyName__. All rights reserved.
  7. *
  8. */
  9. // @package Events
  10. #pragma once
  11. #include "PolyString.h"
  12. #include "PolyLogger.h"
  13. #include "PolyGlobals.h"
  14. #include "PolyEvent.h"
  15. //#ifdef _COMPILE_LUA
  16. #include "PolyLuaEventStuff.h"
  17. //#endif
  18. namespace Polycode {
  19. class _PolyExport EventHandler {
  20. public:
  21. EventHandler();
  22. ~EventHandler();
  23. virtual void secondaryHandler(Event *event);
  24. virtual void handleEvent(Event *event){}
  25. void *secondaryHandlerData;
  26. private:
  27. };
  28. }