KiCad PCB EDA Suite
single_top.cpp File Reference
#include <typeinfo>
#include <macros.h>
#include <fctsys.h>
#include <wx/cmdline.h>
#include <wx/filename.h>
#include <wx/stdpaths.h>
#include <wx/snglinst.h>
#include <wx/html/htmlwin.h>
#include <kiway.h>
#include <pgm_base.h>
#include <kiway_player.h>
#include <confirm.h>
#include <settings/settings_manager.h>

Go to the source code of this file.

Classes

struct  PGM_SINGLE_TOP
 Struct PGM_SINGLE_TOP implements PGM_BASE with its own OnPgmInit() and OnPgmExit(). More...
 
class  HtmlModule
 
struct  APP_SINGLE_TOP
 Struct APP_SINGLE_TOP implements a bare naked wxApp (so that we don't become dependent on functionality in a wxApp derivative that we cannot deliver under wxPython). More...
 

Functions

KIWAY KiwayPgm (), KFCTL_STANDALONE
 The global Program "get" accessor. More...
 
 wxIMPLEMENT_DYNAMIC_CLASS (HtmlModule, wxModule)
 

Variables

PGM_SINGLE_TOP program
 

Function Documentation

◆ Pgm()

KIWAY Kiway & 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 104 of file single_top.cpp.

105 {
106  return program;
107 }
PGM_SINGLE_TOP program

Referenced by AddBitmapToMenuItem(), PCB_BASE_EDIT_FRAME::AddLibrary(), LIB_MANAGER::addLibrary(), AddMenuLanguageList(), GERBVIEW_FRAME::applyDisplaySettingsToGAL(), BOARD_ADAPTER::BOARD_ADAPTER(), PANEL_SYM_LIB_TABLE::browseLibrariesHandler(), PANEL_FP_LIB_TABLE::browseLibrariesHandler(), WS_DRAW_ITEM_LIST::BuildFullText(), buildKicadAboutBanner(), EDA_BASE_FRAME::CheckForAutoSaveFile(), DIALOG_BOM::chooseGenerator(), TOOLS_HOLDER::CommonSettingsChanged(), EDA_DRAW_FRAME::CommonSettingsChanged(), KICAD_MANAGER_FRAME::CommonSettingsChanged(), SCH_BASE_FRAME::CommonSettingsChanged(), EDA_BASE_FRAME::CommonSettingsChanged(), PROJECT::ConfigSave(), CreateHeaderInfoData(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), PANEL_COLOR_SETTINGS::createThemeList(), BMP2CMP::IFACE::CreateWindow(), DIALOG_CHOOSE_FOOTPRINT::DIALOG_CHOOSE_FOOTPRINT(), DIALOG_EDIT_COMPONENT_IN_LIBRARY::DIALOG_EDIT_COMPONENT_IN_LIBRARY(), DIALOG_FOOTPRINT_BOARD_EDITOR::DIALOG_FOOTPRINT_BOARD_EDITOR(), DIALOG_FOOTPRINT_FP_EDITOR::DIALOG_FOOTPRINT_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_SHIM::DIALOG_SHIM(), LIB_DRAWING_TOOLS::DrawShape(), KIWAY::dso_search_path(), EDA_3D_CANVAS::EDA_3D_CANVAS(), EDA_3D_VIEWER::EDA_3D_VIEWER(), BIN_MOD::End(), EVT_UPDATE_UI_RANGE(), KICAD_MANAGER_CONTROL::Execute(), FindKicadFile(), NETLIST_EXPORTER_PSPICE::Format(), GERBVIEW_DRAW_PANEL_GAL::GERBVIEW_DRAW_PANEL_GAL(), GERBVIEW_FRAME::GERBVIEW_FRAME(), get_scale_factor(), SCH_MARKER::getColor(), MARKER_PCB::getColor(), DISPLAY_FOOTPRINTS_FRAME::GetColorSettings(), FOOTPRINT_EDIT_FRAME::GetColorSettings(), FOOTPRINT_WIZARD_FRAME::GetColorSettings(), FOOTPRINT_VIEWER_FRAME::GetColorSettings(), PCB_BASE_EDIT_FRAME::GetColorSettings(), LIB_EDIT_FRAME::GetColorSettings(), EDA_DRAW_FRAME::GetColorSettings(), SCH_BASE_FRAME::GetColorSettings(), TEMPLATE_FIELDNAME::GetDefaultFieldName(), SCH_SHEET::GetDefaultFieldName(), PCB_BASE_FRAME::GetFootprintEditorSettings(), GetLastPinLength(), GetLastPinNameSize(), GetLastPinNumSize(), GetLayerColor(), GERBVIEW_FRAME::GetLayerColor(), PCB_BASE_FRAME::GetPcbNewSettings(), FOOTPRINT_EDIT_FRAME::GetSettings(), GERBVIEW_FRAME::GetVisibleElementColor(), DIALOG_PLOT_SCHEMATIC::initDlg(), DIALOG_BOM::installGeneratorsList(), LIB_EDIT_FRAME::LIB_EDIT_FRAME(), LIB_TREE_NODE_UNIT::LIB_TREE_NODE_UNIT(), PANEL_PREV_3D::loadCommonSettings(), EDA_3D_VIEWER::loadCommonSettings(), SYMBOL_LIB_TABLE::LoadGlobalTable(), FP_LIB_TABLE::LoadGlobalTable(), S3D_PLUGIN_MANAGER::loadPlugins(), LIB_VIEW_FRAME::LoadSettings(), KIGFX::WX_VIEW_CONTROLS::LoadSettings(), FOOTPRINT_VIEWER_FRAME::LoadSettings(), EDA_3D_VIEWER::LoadSettings(), EDA_BASE_FRAME::LoadSettings(), EDA_DRAW_FRAME::LoadSettings(), EDA_BASE_FRAME::LoadWindowSettings(), SCH_MOVE_TOOL::Main(), FOOTPRINT_EDITOR_SETTINGS::MigrateFromLegacy(), GERBVIEW_SETTINGS::MigrateFromLegacy(), APP_SETTINGS_BASE::MigrateFromLegacy(), EESCHEMA_SETTINGS::MigrateFromLegacy(), PCBNEW_SETTINGS::MigrateFromLegacy(), FOOTPRINT_EDITOR_SETTINGS::migrateSchema0to1(), FOOTPRINT_PREVIEW_PANEL::New(), KICAD_MANAGER_CONTROL::NewFromTemplate(), SIM_PLOT_FRAME::NewPlotPanel(), DIALOG_EDIT_COMPONENT_IN_LIBRARY::OnAddField(), DIALOG_LIB_EDIT_PIN_TABLE::OnAddRow(), NETLIST_DIALOG_ADD_GENERATOR::OnBrowseGenerators(), EDA_3D_VIEWER::OnCloseWindow(), PCB_EDIT_FRAME::OnCloseWindow(), DIALOG_CONFIG_EQUFILES::OnEditEquFile(), DIALOG_BOM::OnEditGenerator(), GERBER_LAYER_WIDGET::OnLayerColorChange(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), TREE_PROJECT_FRAME::OnOpenSelectedFileWithTextEditor(), PANEL_COMMON_SETTINGS::OnPDFViewerClick(), DIALOG_PRINT_GENERIC::onPrintButtonClick(), GERBER_LAYER_WIDGET::OnRenderColorChange(), GERBVIEW_FRAME::OnShowGerberSourceFile(), PANEL_COMMON_SETTINGS::OnTextEditorClick(), PANEL_COLOR_SETTINGS::OnThemeChanged(), OpenPDF(), PANEL_EESCHEMA_COLOR_SETTINGS::PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_MODEDIT_COLOR_SETTINGS::PANEL_MODEDIT_COLOR_SETTINGS(), PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), pcbnewInitPythonScripting(), PL_DRAW_PANEL_GAL::PL_DRAW_PANEL_GAL(), PCB_EDIT_FRAME::PrepareLayerIndicator(), SCH_PRINTOUT::PrintPage(), EDA_3D_VIEWER::Process_Special_Functions(), PyScriptingPath(), EDA_3D_CANVAS::ReloadRequest(), SCH_EDIT_TOOL::RepeatDrawItem(), LIB_PIN_TOOL::RepeatPin(), PANEL_COLOR_SETTINGS::saveCurrentTheme(), LIB_VIEW_FRAME::SaveSettings(), EDA_3D_VIEWER::SaveSettings(), GERBVIEW_FRAME::SaveSettings(), EDA_BASE_FRAME::SaveWindowSettings(), SCH_DRAW_PANEL::SCH_DRAW_PANEL(), SCH_PREVIEW_PANEL::SCH_PREVIEW_PANEL(), SearchHelpFileFullPath(), DIALOG_EDIT_LINE_STYLE::setColor(), KIWAY::SetLanguage(), GERBVIEW_FRAME::SetLayerColor(), GERBVIEW_FRAME::SetVisibleElementColor(), SYMBOL_PREVIEW_WIDGET::SYMBOL_PREVIEW_WIDGET(), SystemDirsAppend(), PANEL_PL_EDITOR_COLOR_SETTINGS::TransferDataFromWindow(), PANEL_COMMON_SETTINGS::TransferDataFromWindow(), PANEL_LIBEDIT_COLOR_SETTINGS::TransferDataFromWindow(), DIALOG_CONFIGURE_PATHS::TransferDataFromWindow(), PANEL_MODEDIT_COLOR_SETTINGS::TransferDataFromWindow(), PANEL_MOUSE_SETTINGS::TransferDataFromWindow(), PANEL_PCBNEW_COLOR_SETTINGS::TransferDataFromWindow(), PANEL_LIBEDIT_SETTINGS::TransferDataFromWindow(), PANEL_EESCHEMA_COLOR_SETTINGS::TransferDataFromWindow(), DIALOG_PRINT_USING_PRINTER::TransferDataFromWindow(), PANEL_PL_EDITOR_COLOR_SETTINGS::TransferDataToWindow(), DIALOG_GLOBAL_LIB_TABLE_CONFIG::TransferDataToWindow(), PANEL_COMMON_SETTINGS::TransferDataToWindow(), PANEL_LIBEDIT_COLOR_SETTINGS::TransferDataToWindow(), DIALOG_CONFIGURE_PATHS::TransferDataToWindow(), PANEL_LIBEDIT_SETTINGS::TransferDataToWindow(), PANEL_MOUSE_SETTINGS::TransferDataToWindow(), DIALOG_LIB_EDIT_TEXT::TransferDataToWindow(), DIALOG_PRINT_USING_PRINTER::TransferDataToWindow(), DIALOG_PRINT_PCBNEW::TransferDataToWindow(), LIB_DRAWING_TOOLS::TwoClickPlace(), PCB_DRAW_PANEL_GAL::UpdateColors(), WIZARD_3DSHAPE_LIBS_DOWNLOADER::WIZARD_3DSHAPE_LIBS_DOWNLOADER(), PCB_CALCULATOR_DATAFILE::WriteHeader(), DIALOG_CHOOSE_FOOTPRINT::~DIALOG_CHOOSE_FOOTPRINT(), DIALOG_EDIT_COMPONENT_IN_LIBRARY::~DIALOG_EDIT_COMPONENT_IN_LIBRARY(), DIALOG_FOOTPRINT_WIZARD_LIST::~DIALOG_FOOTPRINT_WIZARD_LIST(), LIB_EDIT_FRAME::~LIB_EDIT_FRAME(), and WIZARD_3DSHAPE_LIBS_DOWNLOADER::~WIZARD_3DSHAPE_LIBS_DOWNLOADER().

◆ wxIMPLEMENT_DYNAMIC_CLASS()

wxIMPLEMENT_DYNAMIC_CLASS ( HtmlModule  ,
wxModule   
)

Variable Documentation

◆ program