summaryrefslogtreecommitdiffstats
path: root/common/commands.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-03-03 09:01:05 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-03-03 09:01:05 +0100
commit4d9746c828558c9f872e0aed52442863affb25d5 (patch)
tree507d7c2ba67f47d3cbbcf01a722236ff1b48426b /common/commands.h
parent9cea920b7dd51867a0be0fed2f461b6be73c103e (diff)
downloadsink-4d9746c828558c9f872e0aed52442863affb25d5.tar.gz
sink-4d9746c828558c9f872e0aed52442863affb25d5.zip
Fromatted the whole codebase with clang-format.
clang-format -i */**{.cpp,.h}
Diffstat (limited to 'common/commands.h')
-rw-r--r--common/commands.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/common/commands.h b/common/commands.h
index 64abd76..b97bbc6 100644
--- a/common/commands.h
+++ b/common/commands.h
@@ -26,13 +26,12 @@
26 26
27class QIODevice; 27class QIODevice;
28 28
29namespace Sink 29namespace Sink {
30{
31 30
32namespace Commands 31namespace Commands {
33{
34 32
35enum CommandIds { 33enum CommandIds
34{
36 UnknownCommand = 0, 35 UnknownCommand = 0,
37 CommandCompletionCommand, 36 CommandCompletionCommand,
38 HandshakeCommand, 37 HandshakeCommand,
@@ -59,7 +58,6 @@ int SINK_EXPORT headerSize();
59void SINK_EXPORT write(QIODevice *device, int messageId, int commandId); 58void SINK_EXPORT write(QIODevice *device, int messageId, int commandId);
60void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); 59void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size);
61void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, flatbuffers::FlatBufferBuilder &fbb); 60void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, flatbuffers::FlatBufferBuilder &fbb);
62
63} 61}
64 62
65} // namespace Sink 63} // namespace Sink