diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-05 15:22:10 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-05 15:22:10 +0200 |
commit | b4df9eb5f1f4a0ac2b1272fc34d4b8aad473008b (patch) | |
tree | 9abf529061432031afefd6a8bfa821a9779f763d /common/commands | |
parent | f9379318d801df204cc50385c5eca1f28e91755e (diff) | |
download | sink-b4df9eb5f1f4a0ac2b1272fc34d4b8aad473008b.tar.gz sink-b4df9eb5f1f4a0ac2b1272fc34d4b8aad473008b.zip |
Prepare for making the resource status available
Diffstat (limited to 'common/commands')
-rw-r--r-- | common/commands/notification.fbs | 7 |
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 @@ | |||
1 | namespace Sink.Commands; | 1 | namespace Sink.Commands; |
2 | 2 | ||
3 | enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress, Inspection, RevisionUpdate } | ||
4 | enum NotificationCode : byte { Success = 0, Failure = 1, UserCode } | ||
5 | |||
6 | table Notification { | 3 | table 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 | ||
13 | root_type Notification; | 10 | root_type Notification; |