From e2c28757651e547bae7dbd6d579667b61bd09ec5 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Wed, 13 Sep 2023 23:11:03 -0400 Subject: [PATCH] BITMAP_INFO kicommon --- common/CMakeLists.txt | 2 +- include/bitmaps/bitmap_info.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 2451a06b35..49d6f727f5 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -46,6 +46,7 @@ set( KICOMMON_SRCS asset_archive.cpp array_axis.cpp array_options.cpp + bitmap_info.cpp exceptions.cpp lib_id.cpp locale_io.cpp @@ -364,7 +365,6 @@ set( COMMON_SRCS bin_mod.cpp bitmap.cpp bitmap_base.cpp - bitmap_info.cpp bitmap_store.cpp board_printout.cpp build_version.cpp diff --git a/include/bitmaps/bitmap_info.h b/include/bitmaps/bitmap_info.h index f1be8adf45..ff0fef8152 100644 --- a/include/bitmaps/bitmap_info.h +++ b/include/bitmaps/bitmap_info.h @@ -21,13 +21,14 @@ #ifndef KICAD_BITMAP_INFO_H #define KICAD_BITMAP_INFO_H +#include #include #include #include #include -struct BITMAP_INFO +struct KICOMMON_API BITMAP_INFO { BITMAPS id; wxString filename; @@ -44,7 +45,7 @@ struct BITMAP_INFO }; -extern void BuildBitmapInfo( std::unordered_map>& aBitmapInfoCache ); #endif // KICAD_BITMAP_INFO_H