![]() |
KiCad PCB EDA Suite
|
#include <confirm.h>
#include <fp_lib_table.h>
#include <kiface_i.h>
#include <pgm_base.h>
#include <settings/settings_manager.h>
#include <cvpcb_mainframe.h>
#include <cvpcb_settings.h>
#include <display_footprints_frame.h>
Go to the source code of this file.
Classes | |
struct | CV::IFACE |
Namespaces | |
CV | |
Functions | |
CV::IFACE KIFACE_I | CV::kiface ("cvpcb", KIWAY::FACE_CVPCB) |
IFACE (const char *aName, KIWAY::FACE_T aType) | |
bool | OnKifaceStart (PGM_BASE *aProgram, int aCtlBits) override |
void | OnKifaceEnd () override |
wxWindow * | CreateWindow (wxWindow *aParent, int aClassId, KIWAY *aKiway, int aCtlBits=0) override |
void * | IfaceOrAddress (int aDataId) override |
Function IfaceOrAddress return a pointer to the requested object. More... | |
KIFACE_I & | Kiface () |
Global KIFACE_I "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... | |
Variables | |
static PGM_BASE * | process |
int | aKIWAYversion |
int PGM_BASE * | aProgram |
return & | kiface |
FP_LIB_TABLE | GFootprintTable |
!!!!!!!!!!!!!! This code is obsolete because of the merge into pcbnew, don't bother with it. More... | |
|
override |
kiface::IFACE | ( | const char * | aName, |
KIWAY::FACE_T | aType | ||
) |
|
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.
aDataId | identifies which object you want the address of. |
KIFACE_I& Kiface | ( | ) |
MY_API | ( | KIFACE * | ) |
|
override |
Definition at line 47 of file mocks_eeschema.cpp.
|
override |
Definition at line 40 of file common_mocks.cpp.
PGM_BASE& Pgm | ( | ) |
The global Program "get" accessor.
Implemented in: 1) common/single_top.cpp, 2) kicad/kicad.cpp, and 3) scripting/kiway.i
Definition at line 103 of file cvpcb.cpp.
References process.
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
Definition at line 112 of file cvpcb.cpp.
Referenced by BOARD_ADAPTER::BOARD_ADAPTER(), DS_DRAW_ITEM_LIST::BuildFullText(), BOARD::ComputeBoundingBox(), and LIB_PIN::LIB_PIN().
int PGM_BASE* aProgram |
Definition at line 97 of file cvpcb.cpp.
Referenced by KIFACE_GETTER(), CV::IFACE::OnKifaceStart(), and KIGFX::SHADER::programInfo().
FP_LIB_TABLE GFootprintTable |
!!!!!!!!!!!!!! This code is obsolete because of the merge into pcbnew, don't bother with it.
Definition at line 120 of file cvpcb.cpp.
Referenced by PCB_BASE_EDIT_FRAME::AddLibrary(), PCB_BASE_EDIT_FRAME::CreateNewLibrary(), FOOTPRINT_TREE_PANE::FOOTPRINT_TREE_PANE(), FP_TREE_SYNCHRONIZING_ADAPTER::GetLibrariesCount(), InvokePcbLibTableEditor(), CV::IFACE::OnKifaceStart(), PCB_BASE_EDIT_FRAME::selectLibTable(), and DIALOG_GLOBAL_FP_LIB_TABLE_CONFIG::TransferDataFromWindow().
|
static |
Definition at line 88 of file cvpcb.cpp.
Referenced by Pgm(), and PgmOrNull().