KiCad PCB EDA Suite
|
#include <wx/file.h>
#include <wx/snglinst.h>
#include <kiface_base.h>
#include <confirm.h>
#include <gestfich.h>
#include <pgm_base.h>
#include <settings/settings_manager.h>
#include <dialogs/panel_pl_editor_display_options.h>
#include <dialogs/panel_pl_editor_color_settings.h>
#include <dialogs/panel_grid_settings.h>
#include "pl_editor_frame.h"
#include "pl_editor_settings.h"
Go to the source code of this file.
Classes | |
struct | PGE::IFACE |
Namespaces | |
namespace | PGE |
Functions | |
PGE::IFACE KIFACE_BASE, UNITS_PROVIDER | PGE::kiface ("pl_editor", KIWAY::FACE_PL_EDITOR) |
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. | |
void | SaveFileAs (const wxString &aProjectBasePath, const wxString &aSrcProjectName, const wxString &aNewProjectBasePath, const wxString &aNewProjectName, const wxString &aSrcFilePath, wxString &aErrors) override |
Saving a file under a different name is delegated to the various KIFACEs because the project doesn't know the internal format of the various files (which may have paths in them that need updating). | |
KIFACE_BASE & | Kiface () |
Global KIFACE_BASE "get" accessor. | |
KIFACE_API KIFACE * | KIFACE_GETTER (int *aKIFACEversion, int aKiwayVersion, PGM_BASE *aProgram) |
No name mangling. Each KIFACE (DSO/DLL) will implement this once. | |
|
override |
Definition at line 11 of file pl_editor.cpp.
kiface::IFACE | ( | const char * | aName, |
KIWAY::FACE_T | aType | ||
) |
Definition at line 2 of file pl_editor.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 59 of file pl_editor.cpp.
References FRAME_PL_EDITOR, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), PANEL_DS_DISPLAY_OPTIONS, and Pgm().
KIFACE_BASE & Kiface | ( | ) |
Global KIFACE_BASE "get" accessor.
Definition at line 127 of file pl_editor.cpp.
References PGE::kiface().
KIFACE_API KIFACE * KIFACE_GETTER | ( | int * | aKIFACEversion, |
int | aKiwayVersion, | ||
PGM_BASE * | aProgram | ||
) |
No name mangling. Each KIFACE (DSO/DLL) will implement this once.
Definition at line 132 of file pl_editor.cpp.
References PGE::kiface().
|
override |
Definition at line 11 of file test_app_main.cpp.
Definition at line 6 of file test_app_main.cpp.
|
override |
Saving a file under a different name is delegated to the various KIFACEs because the project doesn't know the internal format of the various files (which may have paths in them that need updating).