summaryrefslogtreecommitdiffstats
path: root/common/commands
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2014-12-16 17:00:53 +0100
committerAaron Seigo <aseigo@kde.org>2014-12-16 17:00:53 +0100
commit66b21fd2e3c53e4a820e3343b192be7b043da110 (patch)
treee9fe4685d4113c64c573e8230ae4f90fbd17ef8f /common/commands
parentb1c4f94606b6a1b9223acb2c1722bfe3bce26933 (diff)
downloadsink-66b21fd2e3c53e4a820e3343b192be7b043da110.tar.gz
sink-66b21fd2e3c53e4a820e3343b192be7b043da110.zip
a more complete command set
Diffstat (limited to 'common/commands')
-rw-r--r--common/commands/commandcompletion.fbs9
-rw-r--r--common/commands/createentity.fbs8
-rw-r--r--common/commands/deleteentity.fbs8
-rw-r--r--common/commands/fetchentity.fbs9
-rw-r--r--common/commands/modifyentity.fbs11
5 files changed, 45 insertions, 0 deletions
diff --git a/common/commands/commandcompletion.fbs b/common/commands/commandcompletion.fbs
new file mode 100644
index 0000000..9583108
--- /dev/null
+++ b/common/commands/commandcompletion.fbs
@@ -0,0 +1,9 @@
1namespace Akonadi2;
2
3table CommandCompletion {
4 id: ulong
5 success: bool
6 log: ulong = 0
7}
8
9root_type CommandCompletion;
diff --git a/common/commands/createentity.fbs b/common/commands/createentity.fbs
new file mode 100644
index 0000000..564c231
--- /dev/null
+++ b/common/commands/createentity.fbs
@@ -0,0 +1,8 @@
1namespace Akonadi2;
2
3table CreateEntity {
4 domainType: string;
5 delta: [ubyte];
6}
7
8root_type CreateEntity;
diff --git a/common/commands/deleteentity.fbs b/common/commands/deleteentity.fbs
new file mode 100644
index 0000000..c9b7850
--- /dev/null
+++ b/common/commands/deleteentity.fbs
@@ -0,0 +1,8 @@
1namespace Akonadi2;
2
3table DeleteEntity {
4 revision: ulong;
5 entityId: string;
6}
7
8root_type DeleteEntity;
diff --git a/common/commands/fetchentity.fbs b/common/commands/fetchentity.fbs
new file mode 100644
index 0000000..ddca275
--- /dev/null
+++ b/common/commands/fetchentity.fbs
@@ -0,0 +1,9 @@
1namespace Akonadi2;
2
3table FetchEntity {
4 revision: ulong;
5 entityId: string;
6 properties: [string];
7}
8
9root_type FetchEntity;
diff --git a/common/commands/modifyentity.fbs b/common/commands/modifyentity.fbs
new file mode 100644
index 0000000..b4edb12
--- /dev/null
+++ b/common/commands/modifyentity.fbs
@@ -0,0 +1,11 @@
1namespace Akonadi2;
2
3table ModifyEntity {
4 revision: ulong;
5 entityId: string;
6 deletions: [string];
7 domainType: string;
8 delta: [ubyte];
9}
10
11root_type ModifyEntity;