summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/functionconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'spline-widget/functionconfig.h')
-rw-r--r--spline-widget/functionconfig.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/spline-widget/functionconfig.h b/spline-widget/functionconfig.h
index 6d76d0de..3d2fc23c 100644
--- a/spline-widget/functionconfig.h
+++ b/spline-widget/functionconfig.h
@@ -8,6 +8,7 @@
#pragma once
+#include <QtGlobal>
#include <QList>
#include <QPointF>
#include <QString>
@@ -17,7 +18,13 @@
#include <limits>
#include "opentrack-compat/qcopyable-mutex.hpp"
-class Map {
+#ifdef BUILD_opentrack_spline_widget
+# define SPLINE_WIDGET_EXPORT Q_DECL_EXPORT
+#else
+# define SPLINE_WIDGET_EXPORT Q_DECL_IMPORT
+#endif
+
+class SPLINE_WIDGET_EXPORT Map {
private:
static constexpr int value_count = 10000;