summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 68b63ca..cd2f19c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -342,6 +342,21 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
return;
switch (event) {
+ case EVENT_DEBUG:
+ event_name = "DEBUG";
+ break;
+ case EVENT_SHUTDOWN:
+ event_name = "SHUTDOWN";
+ break;
+ case EVENT_RESET:
+ event_name = "RESET";
+ break;
+ case EVENT_POWERDOWN:
+ event_name = "POWERDOWN";
+ break;
+ case EVENT_STOP:
+ event_name = "STOP";
+ break;
default:
abort();
break;
OpenPOWER on IntegriCloud