diff options
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 | ||