summaryrefslogtreecommitdiffstats
path: root/common/commands.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-18 12:16:34 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-18 12:16:34 +0200
commita35acab8ecdadb5547c445a41ca2a67d978ed4a6 (patch)
tree64633dc0345ce82796da553dc28c25323f50aadd /common/commands.h
parente2857def8e67c3a95656f9d4737beba93a38c53a (diff)
downloadsink-a35acab8ecdadb5547c445a41ca2a67d978ed4a6.tar.gz
sink-a35acab8ecdadb5547c445a41ca2a67d978ed4a6.zip
Log messages
Diffstat (limited to 'common/commands.h')
-rw-r--r--common/commands.h4
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
26class QIODevice; 27class QIODevice;
27 28
@@ -47,6 +48,9 @@ enum CommandIds {
47 CustomCommand = 0xffff 48 CustomCommand = 0xffff
48}; 49};
49 50
51
52QByteArray name(int commandId);
53
50int AKONADI2COMMON_EXPORT headerSize(); 54int AKONADI2COMMON_EXPORT headerSize();
51void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId); 55void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId);
52void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); 56void AKONADI2COMMON_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size);