7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2024-11-22 16:45:02 +00:00
kicad/pcbnew/python/swig/board_design_settings.i
2024-07-26 20:49:29 +00:00

24 lines
562 B
OpenEdge ABL

%ignore BOARD_DESIGN_SETTINGS::m_Pad_Master;
%ignore BOARD_DESIGN_SETTINGS::m_DRCEngine;
%ignore NET_SETTINGS::m_netClassPatternAssignments;
%ignore NET_SETTINGS::m_netClassLabelAssignments;
%shared_ptr(NET_SETTINGS)
%template(netclasses_map) std::map<wxString, std::shared_ptr<NETCLASS>>;
%{
#include <board_design_settings.h>
#include <project/net_settings.h>
%}
%include <board_design_settings.h>
%include <project/net_settings.h>
%extend BOARD_DESIGN_SETTINGS
{
void CloneFrom( BOARD_DESIGN_SETTINGS* aOther )
{
*$self = *aOther;
}
}