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