Commit b2bd9bca authored by Maxime Calka's avatar Maxime Calka Committed by Emmanuel Promayon

add decl spec keyword to export/import DLL windows in 3 classes

parent d46cbc8e
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
#ifndef SLIDER_SPIN_BOX_WIDGET_H #ifndef SLIDER_SPIN_BOX_WIDGET_H
#define SLIDER_SPIN_BOX_WIDGET_H #define SLIDER_SPIN_BOX_WIDGET_H
// -- Core stuff
#include "CamiTKAPI.h"
// -- QT stuff // -- QT stuff
#include <QSpinBox> #include <QSpinBox>
#include <QSlider> #include <QSlider>
...@@ -39,7 +42,7 @@ namespace camitk { ...@@ -39,7 +42,7 @@ namespace camitk {
* A utility class to have QSpinBox and QSlider synchronized. * A utility class to have QSpinBox and QSlider synchronized.
* see for example InteractiveViewer (when it is used as 2D viewer) * see for example InteractiveViewer (when it is used as 2D viewer)
*/ */
class SliderSpinBoxWidget : public QWidget { class CAMITK_API SliderSpinBoxWidget : public QWidget {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -66,7 +66,7 @@ class Property; ...@@ -66,7 +66,7 @@ class Property;
using vtkSmartPointerCamera = vtkSmartPointer<vtkCamera>; using vtkSmartPointerCamera = vtkSmartPointer<vtkCamera>;
/// InteractiveViewerFrame is just a QFrame that delegates all key events to its InteractiveViewer /// InteractiveViewerFrame is just a QFrame that delegates all key events to its InteractiveViewer
class InteractiveViewerFrame : public QFrame { class CAMITK_API InteractiveViewerFrame : public QFrame {
public: public:
/// default constructor /// default constructor
InteractiveViewerFrame(QWidget* parent, InteractiveViewer* s3D) : QFrame(parent), myInteractiveViewer(s3D) {} InteractiveViewerFrame(QWidget* parent, InteractiveViewer* s3D) : QFrame(parent), myInteractiveViewer(s3D) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment