KiCad PCB EDA Suite
Loading...
Searching...
No Matches
bitmap2cmp_main.cpp File Reference
#include <bitmap2cmp_frame.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, KIWAY *aKiway) 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.
 
 IFACE (const char *aDSOname, KIWAY::FACE_T aType)
 
KIFACE_BASEKiface ()
 Global KIFACE_BASE "get" accessor.
 
KIFACEKIFACE_GETTER (int *aKIFACEversion, int aKIWAYversion, PGM_BASE *aProgram)
 No name mangling. Each KIFACE (DSO/DLL) will implement this once.
 

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.

Referenced by MOCK_BASE_CLASS().

◆ IFACE()

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

Definition at line 25 of file bitmap2cmp_main.cpp.

◆ 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.

Referenced by MOCK_BASE_CLASS().

◆ Kiface()

KIFACE_BASE & Kiface ( )

Global KIFACE_BASE "get" accessor.

Definition at line 73 of file bitmap2cmp_main.cpp.

References BMP2CMP::kiface().

Referenced by AskSaveBoardFileName(), AUTOPLACER::AUTOPLACER(), CVPCB_MAINFRAME::buildEquivalenceList(), SCH_EDIT_FRAME::canCloseWindow(), PCB_EDIT_FRAME::canCloseWindow(), SCH_EDIT_FRAME::CaptureHierarchyPaneSize(), EDA_BASE_FRAME::config(), SCH::IFACE::CreateKiWindow(), PCB::IFACE::CreateKiWindow(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), 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_CHOOSER::DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), SCH_EDIT_FRAME::doAutoSave(), PCB_EDIT_FRAME::doAutoSave(), PCB_BASE_EDIT_FRAME::doCloseWindow(), SCH_EDIT_FRAME::doReCreateMenuBar(), GERBVIEW_FRAME::doReCreateMenuBar(), PCB_EDIT_FRAME::doReCreateMenuBar(), KIGFX::eeconfig(), EVT_UPDATE_UI_RANGE(), BACK_ANNOTATE::FetchNetlistFromPCB(), PCB_EDIT_FRAME::Files_io_from_id(), FOOTPRINT_CHOOSER_FRAME::filterByFPFilters(), FOOTPRINT_CHOOSER_FRAME::filterByPinCount(), PANEL_DESIGN_BLOCK_CHOOSER::FinishSetup(), PANEL_SYMBOL_CHOOSER::FinishSetup(), PCB_IO_KICAD_SEXPR::FootprintSave(), get_instance_from_id(), DIALOG_PLOT_SCHEMATIC::getPlotOptions(), SCH_RENDER_SETTINGS::GetShowPageLimits(), EDA_BASE_FRAME::help_name(), LAYERS_MAP_DIALOG::initDialog(), DIALOG_PLOT_SCHEMATIC::initDlg(), DIALOG_ANNOTATE::InitValues(), DIALOG_EXPORT_NETLIST::InstallCustomPages(), PCBNEW_JOBS_HANDLER::JobExportDrc(), FOOTPRINT_CHOOSER_FRAME::KiwayMailIn(), EDA_DRAW_FRAME::loadCanvasTypeSetting(), SCH_EDIT_FRAME::LoadProject(), SCH_EDIT_FRAME::NewProject(), DESIGN_BLOCK_PANE::OnCheckBox(), PL_EDITOR_FRAME::OnExit(), PCB_CALCULATOR_FRAME::OnExit(), SCH_EDIT_FRAME::OnExit(), LAYERS_MAP_DIALOG::OnGetSetup(), SCH_EDIT_FRAME::OnImportProject(), DIALOG_SHEET_PROPERTIES::OnInitDlg(), DIALOG_SYMBOL_PROPERTIES::OnInitDlg(), DIALOG_RESCUE_EACH::OnNeverShowClick(), PANEL_DESIGN_BLOCK_CHOOSER::onOpenLibsTimer(), PANEL_SYMBOL_CHOOSER::onOpenLibsTimer(), PANEL_FOOTPRINT_CHOOSER::onOpenLibsTimer(), SCH_EDIT_FRAME::OnOpenPcbnew(), PCB_EDIT_FRAME::OnQuit(), SCH_EDIT_FRAME::onResizeNetNavigator(), LAYERS_MAP_DIALOG::OnStoreSetup(), 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(), PCB_EDIT_FRAME::redrawNetnames(), PCB_EDIT_FRAME::RunEeschema(), DRC_TOOL::RunTests(), EDA_DRAW_FRAME::saveCanvasTypeSetting(), PCB_EDIT_FRAME::SavePcbFile(), SCH_EDIT_FRAME::SaveProject(), PCB_CALCULATOR_FRAME::SaveSettings(), PROJECT_SCH::SchSearchS(), 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(), PCB_BASE_FRAME::SetDisplayOptions(), EDA_BASE_FRAME::sys_search(), PCB_EDIT_FRAME::TestStandalone(), PANEL_PCBNEW_ACTION_PLUGINS::TransferDataFromWindow(), DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow(), DESIGN_BLOCK_PANE::UpdateCheckboxes(), BOARD_EDITOR_CONTROL::UpdateSchematicFromPCB(), PAD::ViewBBox(), RATSNEST_VIEW_ITEM::ViewDraw(), TRANSLINE_IDENT::WriteConfig(), DIALOG_EXPORT_NETLIST::WriteCurrentNetlistSetup(), DIALOG_ANNOTATE::~DIALOG_ANNOTATE(), 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_CHOOSER::~DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_PROPERTIES::~DIALOG_SYMBOL_PROPERTIES(), FOOTPRINT_CHOOSER_FRAME::~FOOTPRINT_CHOOSER_FRAME(), PANEL_DESIGN_BLOCK_CHOOSER::~PANEL_DESIGN_BLOCK_CHOOSER(), PANEL_SYMBOL_CHOOSER::~PANEL_SYMBOL_CHOOSER(), 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 81 of file bitmap2cmp_main.cpp.

References BMP2CMP::kiface().

◆ OnKifaceStart()

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

Definition at line 6 of file test_app_main.cpp.

Referenced by MOCK_BASE_CLASS().