diff options
Diffstat (limited to 'common/commands/notification.fbs')
-rw-r--r-- | common/commands/notification.fbs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/commands/notification.fbs b/common/commands/notification.fbs index 6684472..89687cf 100644 --- a/common/commands/notification.fbs +++ b/common/commands/notification.fbs | |||
@@ -1,9 +1,13 @@ | |||
1 | namespace Akonadi2; | 1 | namespace Akonadi2.Commands; |
2 | 2 | ||
3 | enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress } | 3 | enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress, Inspection } |
4 | enum NotificationCode : byte { Success = 0, Failure = 1, UserCode } | ||
4 | 5 | ||
5 | table Notification { | 6 | table Notification { |
6 | type: NotificationType = Status; | 7 | type: NotificationType = Status; |
8 | 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; | ||
10 | code: int = 0; //Of type NotificationCode | ||
7 | } | 11 | } |
8 | 12 | ||
9 | root_type Notification; | 13 | root_type Notification; |