Skip to content

Commit

Permalink
Missing export declarations for MSVC. Refs #6202
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Apr 16, 2013
1 parent 07b97c6 commit 26fd40d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Code/Mantid/MantidQt/API/inc/MantidQtAPI/Message.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//----------------------------------
// Includes
//----------------------------------
#include "DllOption.h"
#include "MantidKernel/ClassMacros.h"
#include "MantidKernel/Logger.h" // So we can match the Logger priority

Expand All @@ -24,7 +25,7 @@ namespace MantidQt
/** @class Message
* Provides a simple binding of a text message with a priority
*/
class Message : public QObject
class EXPORT_OPT_MANTIDQT_API Message : public QObject
{
// No Q_Object macro by design

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//----------------------------------
// Includes
//----------------------------------
#include "WidgetDllOption.h"
#include "MantidQtAPI/Message.h"
#include "MantidQtAPI/QtSignalChannel.h"

Expand Down Expand Up @@ -35,7 +36,7 @@ namespace MantidQt
* a message is a framework Poco message or a simple string.
* It can connect to the Mantid logging framework if required
*/
class MessageDisplay : public QWidget
class EXPORT_OPT_MANTIDQT_MANTIDWIDGETS MessageDisplay : public QWidget
{
Q_OBJECT
Q_PROPERTY(QString source READ source WRITE setSource);
Expand Down

0 comments on commit 26fd40d

Please sign in to comment.