![]() |
KiCad PCB EDA Suite
|
Main KiCad project manager file. More...
#include <wx/filename.h>
#include <wx/log.h>
#include <wx/app.h>
#include <wx/stdpaths.h>
#include <wx/msgdlg.h>
#include <filehistory.h>
#include <hotkeys_basic.h>
#include <kiway.h>
#include <macros.h>
#include <paths.h>
#include <richio.h>
#include <settings/settings_manager.h>
#include <systemdirsappend.h>
#include <trace_helpers.h>
#include <wildcards_and_files_ext.h>
#include <stdexcept>
#include "pgm_kicad.h"
#include "kicad_manager_frame.h"
#include "kicad_settings.h"
#include <kiplatform/app.h>
#include <kiplatform/environment.h>
#include <kiface_base.h>
Go to the source code of this file.
Classes | |
struct | APP_KICAD |
Not publicly visible because most of the action is in PGM_KICAD these days. More... | |
Functions | |
KIFACE_BASE & | Kiface () |
Global KIFACE_BASE "get" accessor. More... | |
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... | |
PGM_KICAD & | PgmTop () |
PROJECT & | Prj () |
Variables | |
static PGM_KICAD | program |
Main KiCad project manager file.
Definition in file kicad.cpp.
KIFACE_BASE& Kiface | ( | ) |
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 74 of file kicad.cpp.
References program.
Referenced by APP_KICAD::FilterEvent().
PGM_BASE* PgmOrNull | ( | ) |
PGM_KICAD& PgmTop | ( | ) |
Definition at line 87 of file kicad.cpp.
References program.
Referenced by KICAD_MANAGER_FRAME::config(), KICAD_MANAGER_FRAME::help_name(), and KICAD_MANAGER_FRAME::sys_search().
PROJECT& Prj | ( | ) |
Definition at line 403 of file kicad.cpp.
References Kiway, and KIWAY::Prj().
Referenced by EVT_TOOL_RANGE(), PCB_EDIT_FRAME::GetLastPath(), FOOTPRINT_EDIT_FRAME::KiwayMailIn(), LoadBoard(), PCB_BASE_FRAME::loadFootprint(), PCB_EDIT_FRAME::LoadFootprints(), KICAD_MANAGER_CONTROL::NewFromTemplate(), PCB_EDIT_FRAME::onBoardLoaded(), PCB_EDIT_FRAME::RecreateBOMFileFromBoard(), PCB_EDIT_FRAME::RunEeschema(), KICAD_MANAGER_CONTROL::SaveProjectAs(), PCB_BASE_FRAME::SelectFootprintFromLibTree(), PCB_EDIT_FRAME::SetBoard(), PCB_EDIT_FRAME::SetLastPath(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), and PCB_EDIT_FRAME::TestStandalone().
|
static |
Definition at line 71 of file kicad.cpp.
Referenced by APP_KICAD::OnExit(), APP_KICAD::OnInit(), Pgm(), PgmOrNull(), and PgmTop().