---
include/tool/tool_base.h | 4 +++-
include/tool/tool_interactive.h | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/tool/tool_base.h b/include/tool/tool_base.h
index 584a979..caec3b7 100644
--- a/include/tool/tool_base.h
+++ b/include/tool/tool_base.h
@@ -28,6 +28,8 @@
#include <cassert>
#include <base_struct.h> // for KICAD_T
+#include <import_export.h>
+
#include <tool/tool_event.h>
#include <tool/tool_settings.h>
@@ -61,7 +63,7 @@ typedef DELEGATE<int, const TOOL_EVENT&> TOOL_STATE_FUNC;
* Base abstract interface for all kinds of tools.
*/
-class TOOL_BASE
+class APIEXPORT TOOL_BASE
{
public:
TOOL_BASE( TOOL_TYPE aType, TOOL_ID aId, const std::string& aName = std::string( "" ) ) :
diff --git a/include/tool/tool_interactive.h b/include/tool/tool_interactive.h
index 17d2de7..3bf2555 100644
--- a/include/tool/tool_interactive.h
+++ b/include/tool/tool_interactive.h
@@ -32,7 +32,7 @@
class CONTEXT_MENU;
-class TOOL_INTERACTIVE : public TOOL_BASE
+class APIEXPORT TOOL_INTERACTIVE : public TOOL_BASE
{
public:
/**
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp