KiCad PCB EDA Suite
bitmap2cmp_main.cpp File Reference
#include <bitmap2cmp_gui.h>
#include <bitmap2cmp_settings.h>
#include <kiface_base.h>
#include <kiway.h>
#include <pgm_base.h>
#include <settings/settings_manager.h>

Go to the source code of this file.

Classes

struct  BMP2CMP::IFACE
 

Namespaces

namespace  BMP2CMP
 

Functions

BMP2CMP::IFACE KIFACE_BASE BMP2CMP::kiface ("BMP2CMP", KIWAY::FACE_BMP2CMP)
 
bool OnKifaceStart (PGM_BASE *aProgram, int aCtlBits) 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...
 
 IFACE (const char *aDSOname, KIWAY::FACE_T aType)
 
KIFACE_BASEKiface ()
 Global KIFACE_BASE "get" accessor. More...
 
KIFACEKIFACE_GETTER (int *aKIFACEversion, int aKIWAYversion, PGM_BASE *aProgram)
 No name mangling. Each KIFACE (DSO/DLL) will implement this once. More...
 

Variables

static PGM_BASEprocess
 

Function Documentation

◆ CreateKiWindow()

wxWindow * kiface::CreateKiWindow ( wxWindow *  aParent,
int  aClassId,
KIWAY aKiway,
int  aCtlBits = 0 
)
override

Definition at line 2 of file bitmap2cmp_main.cpp.

18 :
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Referenced by MOCK_BASE_CLASS().

◆ IFACE()

kiface::IFACE ( const char *  aDSOname,
KIWAY::FACE_T  aType 
)

Definition at line 25 of file bitmap2cmp_main.cpp.

33 {

◆ 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
aDataIdidentifies which object you want the address of.
Returns
the object which must be cast into the known type.

Definition at line 20 of file bitmap2cmp_main.cpp.

20 ://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */

Referenced by MOCK_BASE_CLASS().

◆ Kiface()

KIFACE_BASE & Kiface ( )

Global KIFACE_BASE "get" accessor.

Definition at line 75 of file bitmap2cmp_main.cpp.

76{
77 return kiface;
78}
BMP2CMP::IFACE KIFACE_BASE kiface("BMP2CMP", KIWAY::FACE_BMP2CMP)

References BMP2CMP::kiface().

Referenced by DIALOG_SYMBOL_FIELDS_TABLE::AddField(), AskSaveBoardFileName(), AUTOPLACER::AUTOPLACER(), CVPCB_MAINFRAME::buildEquivalenceList(), SCH_EDIT_FRAME::canCloseWindow(), PCB_EDIT_FRAME::canCloseWindow(), EDA_DRAW_FRAME::CommonSettingsChanged(), EDA_BASE_FRAME::config(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_CHOOSE_SYMBOL::DIALOG_CHOOSE_SYMBOL(), DIALOG_COLOR_PICKER::DIALOG_COLOR_PICKER(), DIALOG_DRC::DIALOG_DRC(), DIALOG_ERC::DIALOG_ERC(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_PRINT_GERBVIEW::DIALOG_PRINT_GERBVIEW(), DIALOG_PRINT_PCBNEW::DIALOG_PRINT_PCBNEW(), DIALOG_SHEET_PROPERTIES::DIALOG_SHEET_PROPERTIES(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), SCH_EDIT_FRAME::doAutoSave(), PCB_EDIT_FRAME::doAutoSave(), PCB_BASE_EDIT_FRAME::doCloseWindow(), KIGFX::eeconfig(), EVT_UPDATE_UI_RANGE(), BACK_ANNOTATE::FetchNetlistFromPCB(), PCB_PLUGIN::FootprintSave(), get_instance_from_id(), DIALOG_PLOT_SCHEMATIC::getPlotOptions(), EDA_BASE_FRAME::help_name(), LAYERS_MAP_DIALOG::initDialog(), DIALOG_PLOT_SCHEMATIC::initDlg(), DIALOG_ANNOTATE::InitValues(), NETLIST_DIALOG::InstallCustomPages(), LIB_TREE_MODEL_ADAPTER::LIB_TREE_MODEL_ADAPTER(), EDA_DRAW_FRAME::loadCanvasTypeSetting(), DIALOG_SYMBOL_FIELDS_TABLE::LoadFieldNames(), DIALOG_SYMBOL_FIELDS_TABLE::OnAddField(), DIALOG_SYMBOL_FIELDS_TABLE::OnColumnItemToggled(), PL_EDITOR_FRAME::OnExit(), SCH_EDIT_FRAME::OnExit(), LAYERS_MAP_DIALOG::OnGetSetup(), SCH_EDIT_FRAME::OnImportProject(), DIALOG_RESCUE_EACH::OnNeverShowClick(), SCH_EDIT_FRAME::OnOpenPcbnew(), PCB_EDIT_FRAME::OnQuit(), SCH_EDIT_FRAME::OnResizeHierarchyNavigator(), LAYERS_MAP_DIALOG::OnStoreSetup(), DIALOG_SYMBOL_FIELDS_TABLE::OnTableColSize(), DIALOG_EESCHEMA_PAGE_SETTINGS::onTransferDataToWindow(), SCH_EDIT_FRAME::OnUpdatePCB(), SCH_EDIT_FRAME::OpenProjectFiles(), PCB_EDIT_FRAME::OpenProjectFiles(), pcbconfig(), TRANSLINE_IDENT::ReadConfig(), SCH_EDIT_FRAME::ReCreateHToolbar(), PCB_EDIT_FRAME::ReCreateHToolbar(), SCH_EDIT_FRAME::ReCreateMenuBar(), GERBVIEW_FRAME::ReCreateMenuBar(), PL_EDITOR_FRAME::ReCreateMenuBar(), PCB_EDIT_FRAME::ReCreateMenuBar(), PCB_EDIT_FRAME::redrawNetnames(), DS_DATA_MODEL::ResolvePath(), PCB_EDIT_FRAME::RunEeschema(), DRC_TOOL::RunTests(), EDA_DRAW_FRAME::saveCanvasTypeSetting(), PCB_EDIT_FRAME::SavePcbFile(), SCH_EDIT_FRAME::SaveProject(), LIB_TREE_MODEL_ADAPTER::SaveSettings(), PCB_CALCULATOR_FRAME::SaveSettings(), SCHEMATIC_SETTINGS::SCHEMATIC_SETTINGS(), CVPCB_MAINFRAME::SendComponentSelectionToSch(), SCH_EDIT_FRAME::SendCrossProbeClearHighlight(), PCB_EDIT_FRAME::SendCrossProbeItem(), SCH_EDIT_FRAME::SendCrossProbeNetName(), PCB_EDIT_FRAME::SendCrossProbeNetName(), SCH_EDIT_FRAME::SendSelectItemsToPcb(), PCB_EDIT_FRAME::SendSelectItemsToSch(), SCH_EDIT_FRAME::SetCrossProbeConnection(), EDA_BASE_FRAME::sys_search(), PCB_EDIT_FRAME::TestStandalone(), PANEL_PCBNEW_ACTION_PLUGINS::TransferDataFromWindow(), BOARD_EDITOR_CONTROL::UpdateSchematicFromPCB(), PAD::ViewBBox(), RATSNEST_VIEW_ITEM::ViewDraw(), TRANSLINE_IDENT::WriteConfig(), NETLIST_DIALOG::WriteCurrentNetlistSetup(), DIALOG_ANNOTATE::~DIALOG_ANNOTATE(), DIALOG_CHOOSE_SYMBOL::~DIALOG_CHOOSE_SYMBOL(), DIALOG_COLOR_PICKER::~DIALOG_COLOR_PICKER(), DIALOG_DRC::~DIALOG_DRC(), DIALOG_EESCHEMA_PAGE_SETTINGS::~DIALOG_EESCHEMA_PAGE_SETTINGS(), DIALOG_ERC::~DIALOG_ERC(), DIALOG_LABEL_PROPERTIES::~DIALOG_LABEL_PROPERTIES(), DIALOG_SHEET_PROPERTIES::~DIALOG_SHEET_PROPERTIES(), DIALOG_SYMBOL_PROPERTIES::~DIALOG_SYMBOL_PROPERTIES(), and SCH_EDIT_FRAME::~SCH_EDIT_FRAME().

◆ KIFACE_GETTER()

KIFACE * KIFACE_GETTER ( int *  aKIFACEversion,
int  aKIWAYversion,
PGM_BASE aProgram 
)

No name mangling. Each KIFACE (DSO/DLL) will implement this once.

Definition at line 83 of file bitmap2cmp_main.cpp.

84{
86 return &kiface;
87}
static PGM_BASE * process
Container for data for KiCad programs.
Definition: pgm_base.h:94
int PGM_BASE * aProgram
Definition: cvpcb.cpp:110

References aProgram, BMP2CMP::kiface(), and process.

◆ OnKifaceStart()

bool kiface::OnKifaceStart ( PGM_BASE aProgram,
int  aCtlBits 
)
override

Definition at line 6 of file test_app_main.cpp.

18 :
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Referenced by MOCK_BASE_CLASS().

Variable Documentation

◆ process

PGM_BASE* process
static

Definition at line 72 of file bitmap2cmp_main.cpp.

Referenced by KIFACE_GETTER().