summaryrefslogtreecommitdiffstats
path: root/common/commands/notification.fbs
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-18 15:17:30 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-18 15:17:30 +0100
commitd8cd2d6585507a4e40881092a633ec1a80b14dd9 (patch)
treee710026c9191fe42643f7996a55b460e3ff39622 /common/commands/notification.fbs
parent0d55900241772fa5cc5028934358cbcb28702c46 (diff)
downloadsink-d8cd2d6585507a4e40881092a633ec1a80b14dd9.tar.gz
sink-d8cd2d6585507a4e40881092a633ec1a80b14dd9.zip
Draft of inspection API
Diffstat (limited to 'common/commands/notification.fbs')
-rw-r--r--common/commands/notification.fbs5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/commands/notification.fbs b/common/commands/notification.fbs
index 6684472..eb00986 100644
--- a/common/commands/notification.fbs
+++ b/common/commands/notification.fbs
@@ -1,9 +1,12 @@
1namespace Akonadi2; 1namespace Akonadi2;
2 2
3enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress } 3enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress, Inspection }
4enum NotificationCode : byte { Success = 0, Failure = 1, UserCode }
4 5
5table Notification { 6table Notification {
6 type: NotificationType = Status; 7 type: NotificationType = Status;
8 message: string;
9 code: int = 0; //Of type NotificationCode
7} 10}
8 11
9root_type Notification; 12root_type Notification;