55 wxWindow* aParent,
int aClassId,
KIWAY* aKiway,
int aCtlBits = 0 )
override 93 wxFileName filename( aFileName );
95 if( filename.FileExists() )
100 KIWAY_PLAYER* frame = dynamic_cast<KIWAY_PLAYER*>(
App().GetTopWindow() );
virtual bool OpenProjectFiles(const std::vector< wxString > &aFileList, int aCtl=0)
Open a project or set of files given by aFileList.
A KIFACE (I)mplementation.
A wxFrame capable of the OpenProjectFiles function, meaning it can load a portion of a KiCad project.
PGM_MOCK_EESCHEMA_FRAME program
bool OnKifaceStart(PGM_BASE *aProgram, int aCtlBits) override
Typically start_common() is called from here.
void MacOpenFile(const wxString &aFileName) override
Specific to MacOSX (not used under Linux or Windows).
Container for data for KiCad programs.
virtual wxApp & App()
Returns a bare naked wxApp which may come from wxPython, SINGLE_TOP, or kicad.exe.
wxWindow * CreateWindow(wxWindow *aParent, int aClassId, KIWAY *aKiway, int aCtlBits=0) override
Create a wxWindow for the current project.
void OnKifaceEnd() override
Called just once just before the DSO is to be unloaded.
IFACE(const char *aName, KIWAY::FACE_T aType)
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
void * IfaceOrAddress(int aDataId) override
Function IfaceOrAddress return a pointer to the requested object.
FACE_T
Known KIFACE implementations.
IFACE KIFACE_I kiface("mock_eeschema", KIWAY::FACE_SCH)
PGM_BASE & Pgm()
The global Program "get" accessor.
PGM_BASE * PgmOrNull()
similar to PGM_BASE& Pgm(), but return a reference that can be nullptr when running a shared lib from...
TRANSFORM DefaultTransform
KIFACE_I & Kiface()
Global KIFACE_I "get" accessor.