#include <pgm_base.h>
#include <kiface_i.h>
#include <kiway.h>
#include <kiway_player.h>
#include <wx/app.h>
Go to the source code of this file.
◆ CreateWindow()
wxWindow* kiface::CreateWindow |
( |
wxWindow * |
aParent, |
|
|
int |
aClassId, |
|
|
KIWAY * |
aKiway, |
|
|
int |
aCtlBits = 0 |
|
) |
| |
|
override |
◆ IFACE()
◆ IfaceOrAddress()
void* kiface::IfaceOrAddress |
( |
int |
aDataId | ) |
|
|
override |
Function IfaceOrAddress 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
- void* - and must be cast into the know type.
Definition at line 79 of file mock_pgm.cpp.
◆ kiface()
◆ Kiface()
◆ 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 113 of file mock_pgm.cpp.
References program.
◆ program