From b4df9eb5f1f4a0ac2b1272fc34d4b8aad473008b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 5 Jul 2016 15:22:10 +0200 Subject: Prepare for making the resource status available --- common/commands/notification.fbs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'common/commands') diff --git a/common/commands/notification.fbs b/common/commands/notification.fbs index 8750ff5..c82fad3 100644 --- a/common/commands/notification.fbs +++ b/common/commands/notification.fbs @@ -1,13 +1,10 @@ namespace Sink.Commands; -enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress, Inspection, RevisionUpdate } -enum NotificationCode : byte { Success = 0, Failure = 1, UserCode } - table Notification { - type: NotificationType = Status; + type: int = 0; //See notification.h identifier: string; //An identifier that links back to the something related to the notification (e.g. an entity id or a command id) message: string; - code: int = 0; //Of type NotificationCode + code: int = 0; //See notification.h } root_type Notification; -- cgit v1.2.3