Go to the source code of this file.
|
PyObject * | PyInit__pcbnew (void) |
|
PCB::IFACE KIFACE_BASE, UNITS_PROVIDER | PCB::kiface ("pcbnew", KIWAY::FACE_PCB) |
|
| IFACE (const char *aName, KIWAY::FACE_T aType) |
|
bool | OnKifaceStart (PGM_BASE *aProgram, int aCtlBits, KIWAY *aKiway) override |
|
void | Reset () override |
|
void | OnKifaceEnd () override |
|
wxWindow * | CreateKiWindow (wxWindow *aParent, int aClassId, KIWAY *aKiway, int aCtlBits=0) override |
|
void * | IfaceOrAddress (int aDataId) override |
| Return a pointer to the requested object.
|
|
void | SaveFileAs (const wxString &aProjectBasePath, const wxString &aSrcProjectName, const wxString &aNewProjectBasePath, const wxString &aNewProjectName, const wxString &aSrcFilePath, wxString &aErrors) override |
| Saving a file under a different name is delegated to the various KIFACEs because the project doesn't know the internal format of the various files (which may have paths in them that need updating).
|
|
int | HandleJob (JOB *aJob, REPORTER *aReporter, PROGRESS_REPORTER *aProgressReporter) override |
|
bool | HandleJobConfig (JOB *aJob, wxWindow *aParent) override |
|
bool | loadGlobalLibTable () |
|
KIFACE_BASE & | Kiface () |
| Global KIFACE_BASE "get" accessor.
|
|
KIFACE_API KIFACE * | KIFACE_GETTER (int *aKIFACEversion, int aKiwayVersion, PGM_BASE *aProgram) |
| No name mangling. Each KIFACE (DSO/DLL) will implement this once.
|
|
◆ CreateKiWindow()
wxWindow * kiface::CreateKiWindow |
( |
wxWindow * | aParent, |
|
|
int | aClassId, |
|
|
KIWAY * | aKiway, |
|
|
int | aCtlBits = 0 ) |
|
override |
◆ HandleJob()
◆ HandleJobConfig()
bool kiface::HandleJobConfig |
( |
JOB * | aJob, |
|
|
wxWindow * | aParent ) |
|
override |
◆ IFACE()
◆ IfaceOrAddress()
void * kiface::IfaceOrAddress |
( |
int | aDataId | ) |
|
|
override |
Return a pointer to the requested object.
The safest way to use this is to retrieve a pointer to a static instance of an interface, similar to how the KIFACE interface is exported. But if you know what you are doing use it to retrieve anything you want.
- Parameters
-
aDataId | identifies which object you want the address of. |
- Returns
- the object which must be cast into the know type.
Definition at line 274 of file pcbnew.cpp.
References FRAME_FOOTPRINT_EDITOR, and FRAME_FOOTPRINT_VIEWER.
◆ Kiface()
◆ KIFACE_GETTER()
◆ loadGlobalLibTable()
bool kiface::loadGlobalLibTable |
( |
| ) |
|
|
private |
◆ OnKifaceEnd()
void kiface::OnKifaceEnd |
( |
| ) |
|
|
override |
◆ OnKifaceStart()
bool kiface::OnKifaceStart |
( |
PGM_BASE * | aProgram, |
|
|
int | aCtlBits, |
|
|
KIWAY * | aKiway ) |
|
override |
◆ PyInit__pcbnew()
PyObject * PyInit__pcbnew |
( |
void | | ) |
|
◆ Reset()
◆ SaveFileAs()
void kiface::SaveFileAs |
( |
const wxString & | aProjectBasePath, |
|
|
const wxString & | aSrcProjectName, |
|
|
const wxString & | aNewProjectBasePath, |
|
|
const wxString & | aNewProjectName, |
|
|
const wxString & | aSrcFilePath, |
|
|
wxString & | aErrors ) |
|
override |
Saving a file under a different name is delegated to the various KIFACEs because the project doesn't know the internal format of the various files (which may have paths in them that need updating).
References ACTION_MANAGER::GetActionList().
◆ GFootprintList
◆ GFootprintTable
The global footprint library table.
This is not dynamically allocated because in a multiple project environment we must keep its address constant (since it is the fallback table for multiple projects).
Definition at line 422 of file pcbnew.cpp.
◆ m_jobHandler