KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PROJECT_CHOOSER_PLUGIN Class Reference

Plugin class for import plugins that support choosing a project. More...

#include <plugin_common_choose_project.h>

Inheritance diagram for PROJECT_CHOOSER_PLUGIN:
PCB_IO_EASYEDAPRO SCH_IO_EASYEDAPRO

Public Member Functions

virtual void RegisterCallback (CHOOSE_PROJECT_HANDLER aChooseProjectHandler)
 Register a different handler to be called when a non-KiCad project contains multiple PCB+Schematic combinations.
 
virtual ~PROJECT_CHOOSER_PLUGIN ()=default
 

Protected Attributes

CHOOSE_PROJECT_HANDLER m_choose_project_handler
 Callback to choose projects to import.
 

Detailed Description

Plugin class for import plugins that support choosing a project.

Definition at line 53 of file plugin_common_choose_project.h.

Constructor & Destructor Documentation

◆ ~PROJECT_CHOOSER_PLUGIN()

virtual PROJECT_CHOOSER_PLUGIN::~PROJECT_CHOOSER_PLUGIN ( )
virtualdefault

Member Function Documentation

◆ RegisterCallback()

virtual void PROJECT_CHOOSER_PLUGIN::RegisterCallback ( CHOOSE_PROJECT_HANDLER  aChooseProjectHandler)
inlinevirtual

Register a different handler to be called when a non-KiCad project contains multiple PCB+Schematic combinations.

The function is marked as virtual, so the plugins can implement extra logic (e.g., enable warnings or checks)

Definition at line 63 of file plugin_common_choose_project.h.

References m_choose_project_handler.

Member Data Documentation

◆ m_choose_project_handler

CHOOSE_PROJECT_HANDLER PROJECT_CHOOSER_PLUGIN::m_choose_project_handler
protected

Callback to choose projects to import.

Definition at line 71 of file plugin_common_choose_project.h.

Referenced by PCB_IO_EASYEDAPRO::LoadBoard(), SCH_IO_EASYEDAPRO::LoadSchematicFile(), and RegisterCallback().


The documentation for this class was generated from the following file: