std::unique_ptr< SCH_SCREEN > m_screen
bool CanAcceptApiCommands() const override
PROJECT & Prj() const override
HEADLESS_SYMBOL_EDITOR_CONTEXT(std::unique_ptr< LIB_SYMBOL > aSymbol, const LIB_ID &aLibId, PROJECT *aProject, APP_SETTINGS_BASE *aSettings, KIWAY *aKiway=nullptr)
std::unique_ptr< TOOL_MANAGER > m_toolManager
void SetContentModified(bool aModified=true) override
bool SaveSymbol() override
Save the current symbol to its library, without any user interaction.
bool IsContentModified() const override
std::unique_ptr< LIB_SYMBOL > m_symbol
bool LoadSymbol(const LIB_ID &aLibId) override
Load a symbol into the editor (activating it for editing); false if not found.
LIB_SYMBOL * GetCurSymbol() const override
SCH_SCREEN * GetScreen() const override
~HEADLESS_SYMBOL_EDITOR_CONTEXT() override
bool SaveSymbolCopy(const wxString &aFileName, bool aOverwrite) override
Save a copy of the current symbol to the given library file, without user interaction.
TOOL_MANAGER * GetToolManager() const override
LIB_ID GetLoadedLibId() const override
bool RevertSymbol() override
Reload the current symbol from its library, discarding unsaved changes.
KIWAY * GetKiway() const override