#include #include #include extern "C" { #include #include #include } #include using namespace irr; using namespace gui; void registerguicallback(IGUIElement* element, EGUI_EVENT_TYPE event, bool (*func)(irr::SEvent)); class GlobalEventReceiver : public irr::IEventReceiver{ public: GlobalEventReceiver(IrrlichtDevice* d); bool OnEvent(const irr::SEvent& e); }; //GlobalEventReceiver::GlobalEventReceiver(IrrlichtDevice* d);