20#ifndef PLUGIN_COMMON_CHOOSE_PROJECT_H
21#define PLUGIN_COMMON_CHOOSE_PROJECT_H
47using CHOOSE_PROJECT_HANDLER = std::function<std::vector<IMPORT_PROJECT_DESC>(
const std::vector<IMPORT_PROJECT_DESC>& )>;
Plugin class for import plugins that support choosing a project.
virtual ~PROJECT_CHOOSER_PLUGIN()=default
CHOOSE_PROJECT_HANDLER m_choose_project_handler
Callback to choose projects to import.
virtual void RegisterCallback(CHOOSE_PROJECT_HANDLER aChooseProjectHandler)
Register a different handler to be called when a non-KiCad project contains multiple PCB+Schematic co...
std::function< std::vector< IMPORT_PROJECT_DESC >(const std::vector< IMPORT_PROJECT_DESC > &)> CHOOSE_PROJECT_HANDLER
Pointer to a function that takes descriptions of the source projects and removes the ones that are no...
Describes how non-KiCad boards and schematics should be imported as KiCad projects.