KiCad PCB EDA Suite
single_top.cpp File Reference
#include <typeinfo>
#include <macros.h>
#include <fctsys.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>

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 98 of file single_top.cpp.

99 {
100  return program;
101 }
PGM_SINGLE_TOP program

Referenced by AddBitmapToMenuItem(), PCB_BASE_EDIT_FRAME::AddLibrary(), LIB_MANAGER::addLibrary(), AddMenuLanguageList(), BM2CMP_FRAME::BM2CMP_FRAME(), PANEL_SYM_LIB_TABLE::browseLibrariesHandler(), PANEL_FP_LIB_TABLE::browseLibrariesHandler(), WS_DRAW_ITEM_LIST::BuildFullText(), buildKicadAboutBanner(), EDA_BASE_FRAME::CheckForAutoSaveFile(), DIALOG_BOM::chooseGenerator(), EDA_DRAW_FRAME::CommonSettingsChanged(), KICAD_MANAGER_FRAME::CommonSettingsChanged(), EDA_BASE_FRAME::CommonSettingsChanged(), PROJECT::ConfigSave(), CreateHeaderInfoData(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_FOOTPRINT_BOARD_EDITOR::DIALOG_FOOTPRINT_BOARD_EDITOR(), DIALOG_FOOTPRINT_FP_EDITOR::DIALOG_FOOTPRINT_FP_EDITOR(), DIALOG_SHIM::DIALOG_SHIM(), KIWAY::dso_search_path(), EVT_UPDATE_UI_RANGE(), KICAD_MANAGER_CONTROL::Execute(), FindKicadFile(), NETLIST_EXPORTER_PSPICE::Format(), GERBVIEW_FRAME::GERBVIEW_FRAME(), get_scale_factor(), TEMPLATE_FIELDNAME::GetDefaultFieldName(), BIN_MOD::Init(), DIALOG_BOM::installGeneratorsList(), 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(), EDA_BASE_FRAME::LoadSettings(), EDA_DRAW_FRAME::LoadSettings(), FOOTPRINT_PREVIEW_PANEL::New(), KICAD_MANAGER_CONTROL::NewFromTemplate(), NETLIST_DIALOG_ADD_GENERATOR::OnBrowseGenerators(), PCB_EDIT_FRAME::OnCloseWindow(), DIALOG_CONFIG_EQUFILES::OnEditEquFile(), DIALOG_BOM::OnEditGenerator(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), TREE_PROJECT_FRAME::OnOpenSelectedFileWithTextEditor(), PANEL_COMMON_SETTINGS::OnPDFViewerClick(), DIALOG_PRINT_GENERIC::onPrintButtonClick(), GERBVIEW_FRAME::OnShowGerberSourceFile(), PANEL_COMMON_SETTINGS::OnTextEditorClick(), OpenPDF(), PCB_CALCULATOR_FRAME::PCB_CALCULATOR_FRAME(), pcbnewInitPythonScripting(), PCB_EDIT_FRAME::PrepareLayerIndicator(), PyScriptingPath(), SearchHelpFileFullPath(), KIWAY::SetLanguage(), SYMBOL_PREVIEW_WIDGET::SYMBOL_PREVIEW_WIDGET(), SystemDirsAppend(), DIALOG_ERC::TestErc(), PANEL_COMMON_SETTINGS::TransferDataFromWindow(), DIALOG_CONFIGURE_PATHS::TransferDataFromWindow(), DIALOG_PRINT_USING_PRINTER::TransferDataFromWindow(), DIALOG_GLOBAL_LIB_TABLE_CONFIG::TransferDataToWindow(), PANEL_COMMON_SETTINGS::TransferDataToWindow(), DIALOG_CONFIGURE_PATHS::TransferDataToWindow(), WIZARD_3DSHAPE_LIBS_DOWNLOADER::WIZARD_3DSHAPE_LIBS_DOWNLOADER(), PCB_CALCULATOR_DATAFILE::WriteHeader(), KIGFX::WX_VIEW_CONTROLS::WX_VIEW_CONTROLS(), WIZARD_3DSHAPE_LIBS_DOWNLOADER::~WIZARD_3DSHAPE_LIBS_DOWNLOADER(), and KIGFX::WX_VIEW_CONTROLS::~WX_VIEW_CONTROLS().

◆ wxIMPLEMENT_DYNAMIC_CLASS()

wxIMPLEMENT_DYNAMIC_CLASS ( HtmlModule  ,
wxModule   
)

Variable Documentation

◆ program