diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-18 12:16:34 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-18 12:16:34 +0200 |
commit | a35acab8ecdadb5547c445a41ca2a67d978ed4a6 (patch) | |
tree | 64633dc0345ce82796da553dc28c25323f50aadd /common/commands.h | |
parent | e2857def8e67c3a95656f9d4737beba93a38c53a (diff) | |
download | sink-a35acab8ecdadb5547c445a41ca2a67d978ed4a6.tar.gz sink-a35acab8ecdadb5547c445a41ca2a67d978ed4a6.zip |
Log messages
Diffstat (limited to 'common/commands.h')
-rw-r--r-- | common/commands.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/commands.h b/common/commands.h index 0007ffc..1baedcc 100644 --- a/common/commands.h +++ b/common/commands.h | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #include <akonadi2common_export.h> | 23 | #include <akonadi2common_export.h> |
24 | #include <flatbuffers/flatbuffers.h> | 24 | #include <flatbuffers/flatbuffers.h> |
25 | #include <QByteArray> | ||
25 | 26 | ||
26 | class QIODevice; | 27 | class QIODevice; |
27 | 28 | ||
@@ -47,6 +48,9 @@ enum CommandIds { | |||
47 | CustomCommand = 0xffff | 48 | CustomCommand = 0xffff |
48 | }; | 49 | }; |
49 | 50 | ||
51 | |||
52 | QByteArray name(int commandId); | ||
53 | |||
50 | int AKONADI2COMMON_EXPORT headerSize(); | 54 | int AKONADI2COMMON_EXPORT headerSize(); |
51 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId); | 55 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId); |
52 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); | 56 | void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); |