diff options
Diffstat (limited to 'common/entitybuffer.h')
-rw-r--r-- | common/entitybuffer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/entitybuffer.h b/common/entitybuffer.h index c9c2453..474a619 100644 --- a/common/entitybuffer.h +++ b/common/entitybuffer.h | |||
@@ -1,14 +1,17 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include "sink_export.h" | ||
3 | #include <functional> | 4 | #include <functional> |
4 | #include <flatbuffers/flatbuffers.h> | 5 | #include <flatbuffers/flatbuffers.h> |
6 | #include <QByteArray> | ||
5 | 7 | ||
6 | namespace Sink { | 8 | namespace Sink { |
7 | struct Entity; | 9 | struct Entity; |
8 | 10 | ||
9 | class EntityBuffer { | 11 | class SINK_EXPORT EntityBuffer { |
10 | public: | 12 | public: |
11 | EntityBuffer(const void *dataValue, int size); | 13 | EntityBuffer(const void *dataValue, int size); |
14 | EntityBuffer(const QByteArray &data); | ||
12 | const uint8_t *resourceBuffer(); | 15 | const uint8_t *resourceBuffer(); |
13 | const uint8_t *metadataBuffer(); | 16 | const uint8_t *metadataBuffer(); |
14 | const uint8_t *localBuffer(); | 17 | const uint8_t *localBuffer(); |