BITMAP_INFO kicommon

This commit is contained in:
Marek Roszko 2023-09-13 23:11:03 -04:00
parent 2b0d091636
commit e2c2875765
2 changed files with 4 additions and 3 deletions

View File

@ -46,6 +46,7 @@ set( KICOMMON_SRCS
asset_archive.cpp asset_archive.cpp
array_axis.cpp array_axis.cpp
array_options.cpp array_options.cpp
bitmap_info.cpp
exceptions.cpp exceptions.cpp
lib_id.cpp lib_id.cpp
locale_io.cpp locale_io.cpp
@ -364,7 +365,6 @@ set( COMMON_SRCS
bin_mod.cpp bin_mod.cpp
bitmap.cpp bitmap.cpp
bitmap_base.cpp bitmap_base.cpp
bitmap_info.cpp
bitmap_store.cpp bitmap_store.cpp
board_printout.cpp board_printout.cpp
build_version.cpp build_version.cpp

View File

@ -21,13 +21,14 @@
#ifndef KICAD_BITMAP_INFO_H #ifndef KICAD_BITMAP_INFO_H
#define KICAD_BITMAP_INFO_H #define KICAD_BITMAP_INFO_H
#include <kicommon.h>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
#include <bitmaps/bitmaps_list.h> #include <bitmaps/bitmaps_list.h>
#include <wx/string.h> #include <wx/string.h>
struct BITMAP_INFO struct KICOMMON_API BITMAP_INFO
{ {
BITMAPS id; BITMAPS id;
wxString filename; wxString filename;
@ -44,7 +45,7 @@ struct BITMAP_INFO
}; };
extern void BuildBitmapInfo( std::unordered_map<BITMAPS, extern KICOMMON_API void BuildBitmapInfo( std::unordered_map<BITMAPS,
std::vector<BITMAP_INFO>>& aBitmapInfoCache ); std::vector<BITMAP_INFO>>& aBitmapInfoCache );
#endif // KICAD_BITMAP_INFO_H #endif // KICAD_BITMAP_INFO_H