diff options
Diffstat (limited to 'common/commands.h')
-rw-r--r-- | common/commands.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/common/commands.h b/common/commands.h index 19c827e..64abd76 100644 --- a/common/commands.h +++ b/common/commands.h | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #pragma once | 21 | #pragma once |
22 | 22 | ||
23 | #include <sinkcommon_export.h> | 23 | #include "sink_export.h" |
24 | #include <flatbuffers/flatbuffers.h> | 24 | #include <flatbuffers/flatbuffers.h> |
25 | #include <QByteArray> | 25 | #include <QByteArray> |
26 | 26 | ||
@@ -48,16 +48,17 @@ enum CommandIds { | |||
48 | PingCommand, | 48 | PingCommand, |
49 | RevisionReplayedCommand, | 49 | RevisionReplayedCommand, |
50 | InspectionCommand, | 50 | InspectionCommand, |
51 | RemoveFromDiskCommand, | ||
51 | CustomCommand = 0xffff | 52 | CustomCommand = 0xffff |
52 | }; | 53 | }; |
53 | 54 | ||
54 | 55 | ||
55 | QByteArray name(int commandId); | 56 | QByteArray name(int commandId); |
56 | 57 | ||
57 | int SINKCOMMON_EXPORT headerSize(); | 58 | int SINK_EXPORT headerSize(); |
58 | void SINKCOMMON_EXPORT write(QIODevice *device, int messageId, int commandId); | 59 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId); |
59 | void SINKCOMMON_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); | 60 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, const char *buffer, uint size); |
60 | void SINKCOMMON_EXPORT write(QIODevice *device, int messageId, int commandId, flatbuffers::FlatBufferBuilder &fbb); | 61 | void SINK_EXPORT write(QIODevice *device, int messageId, int commandId, flatbuffers::FlatBufferBuilder &fbb); |
61 | 62 | ||
62 | } | 63 | } |
63 | 64 | ||