Files
Seth Hillbrand d45f46a900 Extract PLUGIN_ACTION_SCOPE enum from api_plugin.h
Create lightweight plugin_action_scope.h containing only the enum class.
Replace #include <api/api_plugin.h> in eda_draw_frame.h with the new
header and a forward declaration of PLUGIN_ACTION.

This removes transitive includes wx/bmpbndl.h, wx/filename.h and
nlohmann/json_fwd.hpp from 79 TUs.
2026-02-13 17:12:42 -08:00

37 lines
1.1 KiB
C

/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2024 Jon Evans <jon@craftyjon.com>
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef KICAD_PLUGIN_ACTION_SCOPE_H
#define KICAD_PLUGIN_ACTION_SCOPE_H
enum class PLUGIN_ACTION_SCOPE
{
INVALID,
PCB,
SCHEMATIC,
FOOTPRINT,
SYMBOL,
PROJECT_MANAGER
};
#endif // KICAD_PLUGIN_ACTION_SCOPE_H