1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-16 14:45:30 +01:00

Remove unused EventReceiver

This commit is contained in:
cx384
2025-11-14 13:09:39 +01:00
committed by GitHub
parent c625fa71e1
commit 4cbe7b2597
2 changed files with 0 additions and 12 deletions

View File

@@ -10,11 +10,6 @@
class EventManager : public MtEventManager
{
static void receiverReceive(MtEvent *e, void *data)
{
MtEventReceiver *r = (MtEventReceiver *)data;
r->onEvent(e);
}
struct FuncSpec
{
event_receive_func f;

View File

@@ -36,13 +36,6 @@ public:
Type getType() const override { return type; }
};
class MtEventReceiver
{
public:
virtual ~MtEventReceiver() = default;
virtual void onEvent(MtEvent *e) = 0;
};
typedef void (*event_receive_func)(MtEvent *e, void *data);
class MtEventManager