chore(event): fix header extension

This commit is contained in:
Adam Heinermann 2025-09-23 15:21:43 -07:00 committed by fallenoak
parent 92b0c4778f
commit 51b200da0d
4 changed files with 3 additions and 3 deletions

28
storm/Event.hpp Normal file
View file

@ -0,0 +1,28 @@
#ifndef STORM_EVENT_HPP
#define STORM_EVENT_HPP
#include <cstdint>
#include "Core.hpp"
typedef void (STORMAPI* SEVTHANDLER)(void*);
int32_t STORMAPI SEvtBreakHandlerChain(void* data);
int32_t STORMAPI SEvtDestroy();
int32_t STORMAPI SEvtDispatch(uint32_t type, uint32_t subtype, uint32_t id, void* data);
int32_t STORMAPI SEvtPopState(uint32_t type, uint32_t subtype);
int32_t STORMAPI SEvtPushState(uint32_t type, uint32_t subtype);
int32_t STORMAPI SEvtRegisterHandler(uint32_t type, uint32_t subtype, uint32_t id, uint32_t flags, SEVTHANDLER handler);
int32_t STORMAPI SEvtUnregisterHandler(uint32_t type, uint32_t subtype, uint32_t id, SEVTHANDLER handler);
int32_t STORMAPI SEvtUnregisterType(uint32_t type, uint32_t subtype);
#endif