summaryrefslogtreecommitdiffstats
path: root/common/commands
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-05 15:22:10 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-05 15:22:10 +0200
commitb4df9eb5f1f4a0ac2b1272fc34d4b8aad473008b (patch)
tree9abf529061432031afefd6a8bfa821a9779f763d /common/commands
parentf9379318d801df204cc50385c5eca1f28e91755e (diff)
downloadsink-b4df9eb5f1f4a0ac2b1272fc34d4b8aad473008b.tar.gz
sink-b4df9eb5f1f4a0ac2b1272fc34d4b8aad473008b.zip
Prepare for making the resource status available
Diffstat (limited to 'common/commands')
-rw-r--r--common/commands/notification.fbs7
1 files changed, 2 insertions, 5 deletions
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 @@
1namespace Sink.Commands; 1namespace Sink.Commands;
2 2
3enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress, Inspection, RevisionUpdate }
4enum NotificationCode : byte { Success = 0, Failure = 1, UserCode }
5
6table Notification { 3table Notification {
7 type: NotificationType = Status; 4 type: int = 0; //See notification.h
8 identifier: string; //An identifier that links back to the something related to the notification (e.g. an entity id or a command id) 5 identifier: string; //An identifier that links back to the something related to the notification (e.g. an entity id or a command id)
9 message: string; 6 message: string;
10 code: int = 0; //Of type NotificationCode 7 code: int = 0; //See notification.h
11} 8}
12 9
13root_type Notification; 10root_type Notification;