| 
    KiCad PCB EDA Suite
    
   | 
 
#include <typeinfo>#include <string_utils.h>#include <wx/filename.h>#include <wx/stdpaths.h>#include <wx/snglinst.h>#include <wx/html/htmlwin.h>#include <pgm_base.h>#include <kiface_base.h>#include <kiway.h>#include <kiway_player.h>#include <confirm.h>#include <settings/settings_manager.h>#include <qa_utils/utility_registry.h>Go to the source code of this file.
Classes | |
| struct | IFACE | 
| struct | PGM_TEST_FRAME | 
| struct | APP_TEST | 
| Implement 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 | |
| IFACE KIFACE_BASE | kiface ("pcb_test_frame", KIWAY::FACE_PCB) | 
| IFACE (const char *aName, KIWAY::FACE_T aType) | |
| bool | OnKifaceStart (PGM_BASE *aProgram, int aCtlBits, KIWAY *aKiway) override | 
| void | OnKifaceEnd () 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.   | |
| KIFACE_BASE & | Kiface () | 
| Global KIFACE_BASE "get" accessor.   | |
| void | SetTopFrame (wxFrame *aFrame) | 
| IMPLEMENT_APP_NO_MAIN (APP_TEST) | |
| int | main (int argc, char **argv) | 
Variables | |
| KIWAY | Kiway (KFCTL_STANDALONE) | 
| PGM_TEST_FRAME | program | 
      
  | 
  override | 
Definition at line 13 of file test_app_main.cpp.
| kiface::IFACE | ( | const char * | aName, | 
| KIWAY::FACE_T | aType ) | 
Definition at line 2 of file test_app_main.cpp.
      
  | 
  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.
| aDataId | identifies which object you want the address of. | 
Definition at line 30 of file test_app_main.cpp.
| IMPLEMENT_APP_NO_MAIN | ( | APP_TEST | ) | 
| KIFACE_BASE & Kiface | ( | ) | 
Global KIFACE_BASE "get" accessor.
Definition at line 132 of file test_app_main.cpp.
References kiface().
      
  | 
  static | 
Referenced by FOOTPRINT_PREVIEW_PANEL_BASE::Create(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), get_instance_from_id(), SCRIPTING_TOOL::Init(), KIWAY::KiFACE(), Kiface(), PGM_SINGLE_TOP::OnPgmInit(), PROJECT::PcbFootprintLibs(), KIWAY::Player(), KIWAY::ProcessJob(), KIWAY::ProcessJobConfigDialog(), COMMON_CONTROL::ShowLibraryTable(), KICAD_MANAGER_CONTROL::ShowPluginManager(), and EDA_BASE_FRAME::ShowPreferences().
| int main | ( | int | argc, | 
| char ** | argv ) | 
Definition at line 242 of file test_app_main.cpp.
References PGM_BASE::InitPgm(), and Pgm().
      
  | 
  override | 
Definition at line 11 of file test_app_main.cpp.
Referenced by MOCK_BASE_CLASS().
Definition at line 6 of file test_app_main.cpp.
Referenced by MOCK_BASE_CLASS().
| void SetTopFrame | ( | wxFrame * | aFrame | ) | 
Definition at line 230 of file test_app_main.cpp.
References PGM_BASE::App(), and Pgm().
| KIWAY Kiway(KFCTL_STANDALONE) | ( | KFCTL_STANDALONE | ) | 
Referenced by PGM_TEST_FRAME::OnPgmExit().
      
  | 
  static | 
Referenced by APP_TEST::APP_TEST(), APP_TEST::OnExit(), APP_TEST::OnInit(), and APP_TEST::OnRun().