From d8cd2d6585507a4e40881092a633ec1a80b14dd9 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 18 Jan 2016 15:17:30 +0100 Subject: Draft of inspection API --- common/commands/notification.fbs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common/commands/notification.fbs') 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 @@ namespace Akonadi2; -enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress } +enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress, Inspection } +enum NotificationCode : byte { Success = 0, Failure = 1, UserCode } table Notification { type: NotificationType = Status; + message: string; + code: int = 0; //Of type NotificationCode } root_type Notification; -- cgit v1.2.3