diff options
Diffstat (limited to 'common/commands')
-rw-r--r-- | common/commands/commandcompletion.fbs | 2 | ||||
-rw-r--r-- | common/commands/fetchentity.fbs | 2 | ||||
-rw-r--r-- | common/commands/handshake.fbs | 2 | ||||
-rw-r--r-- | common/commands/inspection.fbs | 12 | ||||
-rw-r--r-- | common/commands/notification.fbs | 8 | ||||
-rw-r--r-- | common/commands/revisionupdate.fbs | 2 | ||||
-rw-r--r-- | common/commands/synchronize.fbs | 2 |
7 files changed, 23 insertions, 7 deletions
diff --git a/common/commands/commandcompletion.fbs b/common/commands/commandcompletion.fbs index 5330b4f..de7ec14 100644 --- a/common/commands/commandcompletion.fbs +++ b/common/commands/commandcompletion.fbs | |||
@@ -1,4 +1,4 @@ | |||
1 | namespace Akonadi2; | 1 | namespace Akonadi2.Commands; |
2 | 2 | ||
3 | table CommandCompletion { | 3 | table CommandCompletion { |
4 | id: ulong; | 4 | id: ulong; |
diff --git a/common/commands/fetchentity.fbs b/common/commands/fetchentity.fbs index ddca275..7a1d74d 100644 --- a/common/commands/fetchentity.fbs +++ b/common/commands/fetchentity.fbs | |||
@@ -1,4 +1,4 @@ | |||
1 | namespace Akonadi2; | 1 | namespace Akonadi2.Commands; |
2 | 2 | ||
3 | table FetchEntity { | 3 | table FetchEntity { |
4 | revision: ulong; | 4 | revision: ulong; |
diff --git a/common/commands/handshake.fbs b/common/commands/handshake.fbs index 52a883a..e824715 100644 --- a/common/commands/handshake.fbs +++ b/common/commands/handshake.fbs | |||
@@ -1,4 +1,4 @@ | |||
1 | namespace Akonadi2; | 1 | namespace Akonadi2.Commands; |
2 | 2 | ||
3 | table Handshake { | 3 | table Handshake { |
4 | name: string; | 4 | name: string; |
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 @@ | |||
1 | namespace Akonadi2.Commands; | ||
2 | |||
3 | table Inspection { | ||
4 | id: string; | ||
5 | type: int; | ||
6 | entityId: string; | ||
7 | domainType: string; | ||
8 | property: string; | ||
9 | expectedValue: string; | ||
10 | } | ||
11 | |||
12 | root_type Inspection; | ||
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; |
diff --git a/common/commands/revisionupdate.fbs b/common/commands/revisionupdate.fbs index 634bcd0..93fbe34 100644 --- a/common/commands/revisionupdate.fbs +++ b/common/commands/revisionupdate.fbs | |||
@@ -1,4 +1,4 @@ | |||
1 | namespace Akonadi2; | 1 | namespace Akonadi2.Commands; |
2 | 2 | ||
3 | table RevisionUpdate { | 3 | table RevisionUpdate { |
4 | revision: ulong; | 4 | revision: ulong; |
diff --git a/common/commands/synchronize.fbs b/common/commands/synchronize.fbs index d2d0364..7c3ae9a 100644 --- a/common/commands/synchronize.fbs +++ b/common/commands/synchronize.fbs | |||
@@ -1,4 +1,4 @@ | |||
1 | namespace Akonadi2; | 1 | namespace Akonadi2.Commands; |
2 | 2 | ||
3 | table Synchronize { | 3 | table Synchronize { |
4 | sourceSync: bool; //Synchronize with source | 4 | sourceSync: bool; //Synchronize with source |