mirror of
https://github.com/Snigdha-OS/snigdhaos-horizon.git
synced 2025-09-21 04:34:58 +02:00
🛠 refactor(_exe): complete event router
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
#include "event_router.h"
|
||||||
|
|
||||||
|
EventRouter *EventRouter::instance = nullptr;
|
||||||
|
|
||||||
|
EventRouter* EventRouter::ins() {
|
||||||
|
if (! instance) {
|
||||||
|
instance = new EventRouter;
|
||||||
|
}
|
||||||
|
return instance;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user