Go to the source code of this file.
|
PGE::IFACE KIFACE_BASE | PGE::kiface ("pl_editor", KIWAY::FACE_PL_EDITOR) |
|
| IFACE (const char *aName, KIWAY::FACE_T aType) |
|
bool | OnKifaceStart (PGM_BASE *aProgram, int aCtlBits) 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. More...
|
|
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). More...
|
|
KIFACE_BASE & | Kiface () |
| Global KIFACE_BASE "get" accessor. More...
|
|
| MY_API (KIFACE *) KIFACE_GETTER(int *aKIFACEversion |
|
PGM_BASE & | Pgm () |
| The global Program "get" accessor. More...
|
|
PGM_BASE * | PgmOrNull () |
| similar to PGM_BASE& Pgm(), but return a reference that can be nullptr when running a shared lib from a script, not from a kicad appl More...
|
|
◆ CreateKiWindow()
wxWindow * kiface::CreateKiWindow |
( |
wxWindow * |
aParent, |
|
|
int |
aClassId, |
|
|
KIWAY * |
aKiway, |
|
|
int |
aCtlBits = 0 |
|
) |
| |
|
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 requested and must be cast into the know type.
Definition at line 46 of file pl_editor.cpp.
◆ Kiface()
◆ MY_API()
◆ OnKifaceEnd()
void kiface::OnKifaceEnd |
( |
| ) |
|
|
override |
◆ OnKifaceStart()
bool kiface::OnKifaceStart |
( |
PGM_BASE * |
aProgram, |
|
|
int |
aCtlBits |
|
) |
| |
|
override |
◆ Pgm()
◆ PgmOrNull()
similar to PGM_BASE& Pgm(), but return a reference that can be nullptr when running a shared lib from a script, not from a kicad appl
Definition at line 136 of file pl_editor.cpp.
References process.
◆ SaveFileAs()
void kiface::SaveFileAs |
( |
const wxString & |
aProjectBasePath, |
|
|
const wxString & |
aSrcProjectName, |
|
|
const wxString & |
aNewProjectBasePath, |
|
|
const wxString & |
aNewProjectName, |
|
|
const wxString & |
aSrcFilePath, |
|
|
wxString & |
aErrors |
|
) |
| |
|
override |
◆ aKiwayVersion
◆ aProgram
Initial value:{
Container for data for KiCad programs.
static PGM_BASE * process
Definition at line 121 of file pl_editor.cpp.
◆ kiface
◆ process