diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-11-30 13:05:19 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-11-30 13:05:19 +0100 |
commit | 97b79eeb86eedee57630b8d29f6eeab08ccb02b0 (patch) | |
tree | f1944c54ac2ab4650221974e81dc14809550cc7c /common/commands | |
parent | 0bcfc57f24adf8ce8dfb2fad33b294b5f0110a89 (diff) | |
download | sink-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.txt | 1 | ||||
-rw-r--r-- | common/commands/handshake.fbs | 9 |
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 | |||
2 | namespace Toynadi; | ||
3 | |||
4 | table Handshake { | ||
5 | name: string; | ||
6 | } | ||
7 | |||
8 | root_type Handshake; | ||
9 | |||