aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/compactbinarypackage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/zencore/include/zencore/compactbinarypackage.h b/zencore/include/zencore/compactbinarypackage.h
index c98ab047f..03098f494 100644
--- a/zencore/include/zencore/compactbinarypackage.h
+++ b/zencore/include/zencore/compactbinarypackage.h
@@ -16,6 +16,7 @@ class CbWriter;
class BinaryReader;
class BinaryWriter;
class IoBuffer;
+class CbAttachment;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -278,9 +279,9 @@ public:
*/
ZENCORE_API void Load(CbFieldIterator& Fields);
- ZENCORE_API void Load(IoBuffer& Buffer, BufferAllocator Allocator = UniqueBuffer::Alloc);
+ ZENCORE_API void Load(IoBuffer& Buffer, BufferAllocator Allocator = UniqueBuffer::Alloc, AttachmentResolver* Mapper = nullptr);
- ZENCORE_API void Load(BinaryReader& Reader, BufferAllocator Allocator = UniqueBuffer::Alloc);
+ ZENCORE_API void Load(BinaryReader& Reader, BufferAllocator Allocator = UniqueBuffer::Alloc, AttachmentResolver* Mapper = nullptr);
/** Save the object and attachments into the writer as a stream of compact binary fields. */
ZENCORE_API void Save(CbWriter& Writer) const;