diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-03 09:01:05 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-03 09:01:05 +0100 |
commit | 4d9746c828558c9f872e0aed52442863affb25d5 (patch) | |
tree | 507d7c2ba67f47d3cbbcf01a722236ff1b48426b /common/commands.h | |
parent | 9cea920b7dd51867a0be0fed2f461b6be73c103e (diff) | |
download | sink-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.h | 10 |
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 | ||
27 | class QIODevice; | 27 | class QIODevice; |
28 | 28 | ||
29 | namespace Sink | 29 | namespace Sink { |
30 | { | ||
31 | 30 | ||
32 | namespace Commands | 31 | namespace Commands { |
33 | { | ||
34 | 32 | ||
35 | enum CommandIds { | 33 | enum CommandIds |
34 | { | ||
36 | UnknownCommand = 0, | 35 | UnknownCommand = 0, |
37 | CommandCompletionCommand, | 36 | CommandCompletionCommand, |
38 | HandshakeCommand, | 37 | HandshakeCommand, |
@@ -59,7 +58,6 @@ int SINK_EXPORT headerSize(); | |||
59 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId); | 58 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId); |
60 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); | 59 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); |
61 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, flatbuffers::FlatBufferBuilder &fbb); | 60 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, flatbuffers::FlatBufferBuilder &fbb); |
62 | |||
63 | } | 61 | } |
64 | 62 | ||
65 | } // namespace Sink | 63 | } // namespace Sink |