Move TOOLS_HOLDER into tools/ folder

Also clean up some compiler warnings
This commit is contained in:
Ian McInerney 2020-04-19 01:51:49 +01:00
parent 7bda8178d1
commit e528769637
6 changed files with 8 additions and 4 deletions

View File

@ -39,7 +39,7 @@
#include "panel_prev_3d_base.h"
#include <vector>
#include <tools_holder.h>
#include <tool/tools_holder.h>
#include <3d_canvas/eda_3d_canvas.h>
#include <3d_viewer_id.h>
#include <3d_rendering/ctrack_ball.h>

View File

@ -768,6 +768,8 @@ class EDA_3D_BOARD_HOLDER
public:
virtual BOARD_ADAPTER& GetAdapter() = 0;
virtual CCAMERA& GetCurrentCamera() = 0;
virtual ~EDA_3D_BOARD_HOLDER() {};
};
#endif // BOARD_ADAPTER_H

View File

@ -331,7 +331,6 @@ set( COMMON_SRCS
status_popup.cpp
systemdirsappend.cpp
template_fieldnames.cpp
tools_holder.cpp
trace_helpers.cpp
undo_redo_container.cpp
utf8.cpp
@ -381,6 +380,7 @@ set( COMMON_SRCS
tool/tool_base.cpp
tool/tool_dispatcher.cpp
tool/tool_event.cpp
tool/tools_holder.cpp
tool/tool_interactive.cpp
tool/tool_manager.cpp
tool/tool_menu.cpp

View File

@ -26,8 +26,8 @@
#include <tool/action_manager.h>
#include <tool/action_menu.h>
#include <tool/actions.h>
#include <tool/tools_holder.h>
#include <tool/tool_manager.h>
#include <tools_holder.h>
TOOLS_HOLDER::TOOLS_HOLDER() :

View File

@ -46,7 +46,7 @@
#include <frame_type.h>
#include <hotkeys_basic.h>
#include <kiway_holder.h>
#include <tools_holder.h>
#include <tool/tools_holder.h>
#include <widgets/ui_common.h>
// Option for main frames

View File

@ -66,6 +66,8 @@ protected:
public:
TOOLS_HOLDER();
virtual ~TOOLS_HOLDER() { }
/**
* Return the MVC controller.
*/