You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.3 KiB

6 years ago
6 years ago
6 years ago
6 years ago
  1. /*
  2. * This program source code file is part of KiCad, a free EDA CAD application.
  3. *
  4. * Copyright (C) 2013-2016 CERN
  5. * Copyright (C) 2018-2021 KiCad Developers, see AUTHORS.txt for contributors.
  6. * @author Maciej Suminski <maciej.suminski@cern.ch>
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License
  10. * as published by the Free Software Foundation; either version 2
  11. * of the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, you may find one here:
  20. * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  21. * or you may search the http://www.gnu.org website for the version 2 license,
  22. * or you may write to the Free Software Foundation, Inc.,
  23. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  24. */
  25. #ifndef CVPCB_ACTIONS_H
  26. #define CVPCB_ACTIONS_H
  27. #include <tool/actions.h>
  28. /**
  29. * Gather all the actions that are shared by tools.
  30. *
  31. * The instance of CVPCB_ACTIONS is created inside of ACTION_MANAGER object that registers
  32. * the actions.
  33. */
  34. class CVPCB_ACTIONS : public ACTIONS
  35. {
  36. public:
  37. /// Activation actions
  38. static TOOL_ACTION selectionActivate;
  39. static TOOL_ACTION controlActivate;
  40. /// Window control actions
  41. static TOOL_ACTION changeFocusRight;
  42. static TOOL_ACTION changeFocusLeft;
  43. /// Open the footprint viewer
  44. static TOOL_ACTION showFootprintViewer;
  45. /// Navigate the component tree
  46. static TOOL_ACTION gotoPreviousNA;
  47. static TOOL_ACTION gotoNextNA;
  48. /// Management actions
  49. static TOOL_ACTION saveAssociations;
  50. static TOOL_ACTION showEquFileTable;
  51. /// Footprint Association actions
  52. static TOOL_ACTION autoAssociate;
  53. static TOOL_ACTION associate;
  54. static TOOL_ACTION deleteAll;
  55. static TOOL_ACTION deleteAssoc;
  56. /// Footprint Filtering actions
  57. static TOOL_ACTION FilterFPbyFPFilters;
  58. static TOOL_ACTION filterFPbyPin;
  59. static TOOL_ACTION FilterFPbyLibrary;
  60. };
  61. #endif