From 8327a28d67d84a327c5589cba64bb49f12e6ee5b Mon Sep 17 00:00:00 2001 From: Federico Montesino Pouzols <federico.montesino-pouzols@stfc.ac.uk> Date: Tue, 18 Aug 2015 13:12:53 +0100 Subject: [PATCH] additional header for rhel6 and osx, Q_ export for win7, re #12610 --- .../EnggDiffraction/EnggDiffractionPresenter.h | 7 ++++--- .../EnggDiffraction/IEnggDiffractionView.h | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionPresenter.h b/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionPresenter.h index 44345e0fcba..91841f1b51c 100644 --- a/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionPresenter.h +++ b/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionPresenter.h @@ -3,7 +3,7 @@ #include "MantidAPI/ITableWorkspace_fwd.h" #include "MantidAPI/MatrixWorkspace_fwd.h" -#include "MantidKernel/System.h" +#include "MantidQtCustomInterfaces/DllConfig.h" #include "MantidQtCustomInterfaces/EnggDiffraction/IEnggDiffractionPresenter.h" #include "MantidQtCustomInterfaces/EnggDiffraction/IEnggDiffractionView.h" // #include "MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionModel.h" @@ -45,8 +45,9 @@ File change history is stored at: <https://github.com/mantidproject/mantid> Code Documentation is available at: <http://doxygen.mantidproject.org> */ // needs to be dll-exported for the tests -class DLLExport EnggDiffractionPresenter : public QObject, - public IEnggDiffractionPresenter { +class MANTIDQT_CUSTOMINTERFACES_DLL EnggDiffractionPresenter + : public QObject, + public IEnggDiffractionPresenter { // Q_OBJECT for 'connect' with thread/worker Q_OBJECT diff --git a/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/IEnggDiffractionView.h b/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/IEnggDiffractionView.h index 41c2d889440..178e00ed3e4 100644 --- a/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/IEnggDiffractionView.h +++ b/Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/IEnggDiffractionView.h @@ -1,6 +1,8 @@ #ifndef MANTIDQTCUSTOMINTERFACES_ENGGDIFFRACTION_IENGGDIFFRACTIONVIEW_H_ #define MANTIDQTCUSTOMINTERFACES_ENGGDIFFRACTION_IENGGDIFFRACTIONVIEW_H_ +#include <string> + #include "MantidAPI/MatrixWorkspace_fwd.h" #include "MantidQtCustomInterfaces/EnggDiffraction/EnggDiffCalibSettings.h" // #include "MantidQtCustomInterfaces/EnggDiffraction/EnggDiffSettings.h" -- GitLab