summaryrefslogtreecommitdiffstats
path: root/common/commands
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2014-11-30 13:05:19 +0100
committerAaron Seigo <aseigo@kde.org>2014-11-30 13:05:19 +0100
commit97b79eeb86eedee57630b8d29f6eeab08ccb02b0 (patch)
treef1944c54ac2ab4650221974e81dc14809550cc7c /common/commands
parent0bcfc57f24adf8ce8dfb2fad33b294b5f0110a89 (diff)
downloadsink-97b79eeb86eedee57630b8d29f6eeab08ccb02b0.tar.gz
sink-97b79eeb86eedee57630b8d29f6eeab08ccb02b0.zip
add flatbuffer support and use that for the handshake
Diffstat (limited to 'common/commands')
-rw-r--r--common/commands/CMakeLists.txt1
-rw-r--r--common/commands/handshake.fbs9
2 files changed, 10 insertions, 0 deletions
diff --git a/common/commands/CMakeLists.txt b/common/commands/CMakeLists.txt
new file mode 100644
index 0000000..2a9ba64
--- /dev/null
+++ b/common/commands/CMakeLists.txt
@@ -0,0 +1 @@
generate_flatbuffers(${CMAKE_CURRENT_BINARY_DIR} handshake.fbs)
diff --git a/common/commands/handshake.fbs b/common/commands/handshake.fbs
new file mode 100644
index 0000000..4492ca9
--- /dev/null
+++ b/common/commands/handshake.fbs
@@ -0,0 +1,9 @@
1
2namespace Toynadi;
3
4table Handshake {
5 name: string;
6}
7
8root_type Handshake;
9