diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-16 22:40:44 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-16 22:40:44 +0100 |
commit | 77944384d24b5005d6b8648572a31a3ae84dd946 (patch) | |
tree | 8726831773b4182cb6177d6c72a723e08a6c15aa /common/commands.h | |
parent | 66b21fd2e3c53e4a820e3343b192be7b043da110 (diff) | |
download | sink-77944384d24b5005d6b8648572a31a3ae84dd946.tar.gz sink-77944384d24b5005d6b8648572a31a3ae84dd946.zip |
add pipelines (as a sketch only), message ids and message responses
Diffstat (limited to 'common/commands.h')
-rw-r--r-- | common/commands.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/common/commands.h b/common/commands.h index 874db73..c63bb47 100644 --- a/common/commands.h +++ b/common/commands.h | |||
@@ -33,8 +33,8 @@ namespace Commands | |||
33 | 33 | ||
34 | enum CommandIds { | 34 | enum CommandIds { |
35 | UnknownCommand = 0, | 35 | UnknownCommand = 0, |
36 | HandshakeCommand, | ||
37 | CommandCompletion, | 36 | CommandCompletion, |
37 | HandshakeCommand, | ||
38 | RevisionUpdateCommand, | 38 | RevisionUpdateCommand, |
39 | SynchronizeCommand, | 39 | SynchronizeCommand, |
40 | FetchEntityCommand, | 40 | FetchEntityCommand, |
@@ -45,9 +45,10 @@ enum CommandIds { | |||
45 | CustomCommand = 0xffff | 45 | CustomCommand = 0xffff |
46 | }; | 46 | }; |
47 | 47 | ||
48 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int commandId); | 48 | int AKONADI2COMMON_EXPORT headerSize(); |
49 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int commandId, const char *buffer, uint size); | 49 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId); |
50 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int commandId, flatbuffers::FlatBufferBuilder &fbb); | 50 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); |
51 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId, flatbuffers::FlatBufferBuilder &fbb); | ||
51 | 52 | ||
52 | } | 53 | } |
53 | 54 | ||