Commit 173b869d authored by Miguel Angel Ajo's avatar Miguel Angel Ajo

Compilation cleanup, TODO.txt update about library creation

parent 3f761c89
...@@ -7,6 +7,20 @@ ...@@ -7,6 +7,20 @@
* add MODULE::Add (see BOARD:Add), to make it more clean * add MODULE::Add (see BOARD:Add), to make it more clean
* Saving modules to library (in librairi.cpp)
see:
- void PCB_EDIT_FRAME::ArchiveModulesOnBoard( const wxString& aLibName, bool aNewModulesOnly )
- bool PCB_BASE_FRAME::Save_Module_In_Library( const wxString& aLibName,
MODULE* aModule,
bool aOverwrite,
bool aDisplayDialog )
What do we do about this?, ask Dick, these functions should be transplanted
to kicad plugin?
...@@ -31,6 +31,11 @@ ...@@ -31,6 +31,11 @@
%module pcbnew %module pcbnew
%include "kicad.i" %include "kicad.i"
// ignore a couple of items that generate warnings from swig built code
%ignore BOARD_ITEM::ZeroOffset;
%ignore D_PAD::m_PadSketchModePenSize;
// this is what it must be included in the wrapper .cxx code to compile // this is what it must be included in the wrapper .cxx code to compile
%{ %{
......
...@@ -53,6 +53,11 @@ ...@@ -53,6 +53,11 @@
%ignore InitKiCadAbout; %ignore InitKiCadAbout;
%ignore GetCommandOptions; %ignore GetCommandOptions;
%rename(getWxRect) operator wxRect;
%ignore operator <<;
%ignore operator =;
%{ %{
#include <cstddef> #include <cstddef>
#include <dlist.h> #include <dlist.h>
...@@ -60,8 +65,10 @@ ...@@ -60,8 +65,10 @@
#include <common.h> #include <common.h>
#include <wx_python_helpers.h> #include <wx_python_helpers.h>
#include <cstddef> #include <cstddef>
#include <vector> #include <vector>
using namespace std; using namespace std;
#include <class_title_block.h> #include <class_title_block.h>
#include <class_colors_design_settings.h> #include <class_colors_design_settings.h>
#include <class_marker_base.h> #include <class_marker_base.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment