2015-02-18 16:53:46 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KICAD, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015 CERN
|
2016-06-08 11:19:53 +00:00
|
|
|
* Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
|
2015-02-18 16:53:46 +00:00
|
|
|
* @author Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
|
|
|
|
*
|
|
|
|
* 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 2
|
|
|
|
* 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, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2015-02-18 00:10:20 +00:00
|
|
|
#include <io_mgr.h>
|
|
|
|
|
|
|
|
#include <tool/tool_manager.h>
|
|
|
|
|
|
|
|
#include <tools/selection_tool.h>
|
2016-06-08 11:19:53 +00:00
|
|
|
#include <tools/zoom_tool.h>
|
2015-06-18 15:51:51 +00:00
|
|
|
#include <tools/picker_tool.h>
|
2015-02-18 00:10:20 +00:00
|
|
|
#include <tools/edit_tool.h>
|
|
|
|
#include <tools/drawing_tool.h>
|
|
|
|
#include <tools/point_editor.h>
|
|
|
|
#include <tools/pcbnew_control.h>
|
|
|
|
#include <tools/pcb_editor_control.h>
|
|
|
|
#include <tools/placement_tool.h>
|
2017-01-21 21:06:18 +00:00
|
|
|
#include <tools/pad_tool.h>
|
2015-02-18 00:10:20 +00:00
|
|
|
#include <tools/common_actions.h>
|
|
|
|
|
|
|
|
#include <router/router_tool.h>
|
|
|
|
#include <router/length_tuner_tool.h>
|
|
|
|
|
2015-02-18 16:53:46 +00:00
|
|
|
void registerAllTools( TOOL_MANAGER *aToolManager )
|
2015-02-18 00:10:20 +00:00
|
|
|
{
|
|
|
|
aToolManager->RegisterTool( new SELECTION_TOOL );
|
2016-06-08 11:19:53 +00:00
|
|
|
aToolManager->RegisterTool( new ZOOM_TOOL );
|
2015-06-18 15:51:51 +00:00
|
|
|
aToolManager->RegisterTool( new PICKER_TOOL );
|
2015-02-18 00:10:20 +00:00
|
|
|
aToolManager->RegisterTool( new ROUTER_TOOL );
|
|
|
|
aToolManager->RegisterTool( new LENGTH_TUNER_TOOL );
|
|
|
|
aToolManager->RegisterTool( new EDIT_TOOL );
|
2017-01-21 21:06:18 +00:00
|
|
|
aToolManager->RegisterTool( new PAD_TOOL );
|
2015-02-18 00:10:20 +00:00
|
|
|
aToolManager->RegisterTool( new DRAWING_TOOL );
|
|
|
|
aToolManager->RegisterTool( new POINT_EDITOR );
|
|
|
|
aToolManager->RegisterTool( new PCBNEW_CONTROL );
|
|
|
|
aToolManager->RegisterTool( new PCB_EDITOR_CONTROL );
|
|
|
|
aToolManager->RegisterTool( new PLACEMENT_TOOL );
|
2017-01-21 21:06:18 +00:00
|
|
|
|
2016-06-08 11:19:53 +00:00
|
|
|
}
|