Move the PARAM_LIST<> specializations for BOM to bom_settings
This commit is contained in:
parent
eb38932d26
commit
89dd8e1166
|
@ -244,3 +244,8 @@ std::vector<BOM_FMT_PRESET> BOM_FMT_PRESET::BuiltInPresets()
|
|||
{
|
||||
return { BOM_FMT_PRESET::CSV(), BOM_FMT_PRESET::TSV(), BOM_FMT_PRESET::Semicolons() };
|
||||
}
|
||||
|
||||
#if !defined( __MINGW32__ )
|
||||
template class KICOMMON_API PARAM_LIST<struct BOM_PRESET>;
|
||||
template class KICOMMON_API PARAM_LIST<struct BOM_FMT_PRESET>;
|
||||
#endif
|
|
@ -128,8 +128,6 @@ template class KICOMMON_API PARAM_LIST<double>;
|
|||
template class KICOMMON_API PARAM_LIST<wxString>;
|
||||
template class KICOMMON_API PARAM_LIST<KIGFX::COLOR4D>;
|
||||
//template KICOMMON_API class PARAM_LIST<FILE_INFO_PAIR>;
|
||||
template class KICOMMON_API PARAM_LIST<struct BOM_PRESET>;
|
||||
template class KICOMMON_API PARAM_LIST<struct BOM_FMT_PRESET>;
|
||||
template class KICOMMON_API PARAM_LIST<GRID>;
|
||||
|
||||
template class KICOMMON_API PARAM_SET<wxString>;
|
||||
|
|
|
@ -100,5 +100,7 @@ KICOMMON_API bool operator<( const BOM_FMT_PRESET& lhs, const BOM_FMT_PRESET& r
|
|||
KICOMMON_API void to_json( nlohmann::json& j, const BOM_FMT_PRESET& f );
|
||||
KICOMMON_API void from_json( const nlohmann::json& j, BOM_FMT_PRESET& f );
|
||||
|
||||
extern template class APIVISIBLE PARAM_LIST<struct BOM_PRESET>;
|
||||
extern template class APIVISIBLE PARAM_LIST<struct BOM_FMT_PRESET>;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include <optional>
|
||||
#include <gal/color4d.h>
|
||||
#include <settings/json_settings.h>
|
||||
#include <settings/bom_settings.h>
|
||||
#include <settings/grid_settings.h>
|
||||
#include <kicommon.h>
|
||||
|
||||
|
@ -562,8 +561,6 @@ template class KICOMMON_API PARAM_LIST<bool>;
|
|||
template class KICOMMON_API PARAM_LIST<int>;
|
||||
template class KICOMMON_API PARAM_LIST<double>;
|
||||
template class KICOMMON_API PARAM_LIST<KIGFX::COLOR4D>;
|
||||
template class KICOMMON_API PARAM_LIST<struct BOM_PRESET>;
|
||||
template class KICOMMON_API PARAM_LIST<struct BOM_FMT_PRESET>;
|
||||
template class KICOMMON_API PARAM_LIST<GRID>;
|
||||
template class KICOMMON_API PARAM_LIST<wxString>;
|
||||
#else
|
||||
|
@ -571,8 +568,6 @@ extern template class APIVISIBLE PARAM_LIST<bool>;
|
|||
extern template class APIVISIBLE PARAM_LIST<int>;
|
||||
extern template class APIVISIBLE PARAM_LIST<double>;
|
||||
extern template class APIVISIBLE PARAM_LIST<KIGFX::COLOR4D>;
|
||||
extern template class APIVISIBLE PARAM_LIST<struct BOM_PRESET>;
|
||||
extern template class APIVISIBLE PARAM_LIST<struct BOM_FMT_PRESET>;
|
||||
extern template class APIVISIBLE PARAM_LIST<GRID>;
|
||||
extern template class APIVISIBLE PARAM_LIST<wxString>;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue