Add Event Subscriptions & Instance specific replies

This commit is contained in:
LordGrey
2024-04-25 22:12:30 +02:00
parent ec6a65bfbb
commit 7a604ee5e7
7 changed files with 179 additions and 115 deletions

View File

@@ -179,10 +179,12 @@ void EventHandler::handleEvent(Event event)
break;
case Event::Reload:
emit signalEvent(Event::Reload);
Process::restartHyperion(10);
break;
case Event::Restart:
emit signalEvent(Event::Restart);
Process::restartHyperion(11);
break;