KiCad PCB EDA Suite
kicad_manager_actions.h
Go to the documentation of this file.
1 /*
2  * This program source code file is part of KiCad, a free EDA CAD application.
3  *
4  * Copyright (C) 2019 CERN
5  * Copyright (C) 2019 KiCad Developers, see AUTHORS.txt for contributors.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, you may find one here:
19  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20  * or you may search the http://www.gnu.org website for the version 2 license,
21  * or you may write to the Free Software Foundation, Inc.,
22  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23  */
24 
25 #ifndef KICAD_MANAGER_ACTIONS_H
26 #define KICAD_MANAGER_ACTIONS_H
27 
28 #include <tool/tool_action.h>
29 #include <tool/actions.h>
30 #include <core/optional.h>
31 
32 class TOOL_EVENT;
33 class TOOL_MANAGER;
34 
39 {
40 public:
44 
54 
57 
59  virtual OPT<TOOL_EVENT> TranslateLegacyId( int aId ) override
60  {
61  return OPT<TOOL_EVENT>();
62  }
63 };
64 
65 
66 
67 #endif
static TOOL_ACTION newProject
static TOOL_ACTION showCalculator
static TOOL_ACTION viewGerbers
static TOOL_ACTION newFromTemplate
static TOOL_ACTION convertImage
static TOOL_ACTION editOtherPCB
Class TOOL_MANAGER.
Definition: tool_manager.h:50
static TOOL_ACTION editSchematic
Class TOOL_EVENT.
Definition: tool_event.h:171
static TOOL_ACTION editFootprints
static TOOL_ACTION editWorksheet
virtual OPT< TOOL_EVENT > TranslateLegacyId(int aId) override
static TOOL_ACTION editOtherSch
static TOOL_ACTION editPCB
static TOOL_ACTION openProject
Class TOOL_ACTION.
Definition: tool_action.h:46
boost::optional< T > OPT
Definition: optional.h:7
Class ACTIONS.
Definition: actions.h:43
Class KICAD_MANAGER_ACTIONS.
static TOOL_ACTION editSymbols
static TOOL_ACTION openTextEditor