From 881af3330ef3ec97b6af40334546b285c60f043b Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Mon, 23 Oct 2023 12:18:51 +0200 Subject: [PATCH] Add missing exports to Core classes --- src/LibBGCode/core/core.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/LibBGCode/core/core.hpp b/src/LibBGCode/core/core.hpp index 1a71fa1..17c9e65 100644 --- a/src/LibBGCode/core/core.hpp +++ b/src/LibBGCode/core/core.hpp @@ -179,7 +179,7 @@ enum class EThumbnailFormat : uint16_t QOI }; -class Checksum +BGCODE_CORE_EXPORT class Checksum { public: // Constructs a checksum of the given type. @@ -232,7 +232,7 @@ class Checksum std::array m_checksum; }; -struct FileHeader +BGCODE_CORE_EXPORT struct FileHeader { uint32_t magic{ MAGICi32 }; uint32_t version{ VERSION }; @@ -242,7 +242,7 @@ struct FileHeader EResult read(FILE& file, const uint32_t* const max_version); }; -struct BlockHeader +BGCODE_CORE_EXPORT struct BlockHeader { uint16_t type{ 0 }; uint16_t compression{ 0 }; @@ -269,7 +269,7 @@ struct BlockHeader long m_position{ 0 }; }; -struct ThumbnailParams +BGCODE_CORE_EXPORT struct ThumbnailParams { uint16_t format; uint16_t width;