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/inspection.fbs | 12 ++++++++++++ common/commands/notification.fbs | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 common/commands/inspection.fbs (limited to 'common/commands') diff --git a/common/commands/inspection.fbs b/common/commands/inspection.fbs new file mode 100644 index 0000000..aaae1ae --- /dev/null +++ b/common/commands/inspection.fbs @@ -0,0 +1,12 @@ +namespace Akonadi2.Commands; + +table Inspection { + id: string; + type: int; + entityId: string; + domainType: string; + property: string; + expectedValue: string; +} + +root_type Inspection; 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