From 23d0bd8edde6aadfaa282215b5f143ad16210438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 5 Sep 2015 18:46:57 +0200 Subject: NOISSUE make shared logic library ... shared --- logic/Exception.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'logic/Exception.h') diff --git a/logic/Exception.h b/logic/Exception.h index 2664910e..0dae39a0 100644 --- a/logic/Exception.h +++ b/logic/Exception.h @@ -6,7 +6,9 @@ #include #include -class Exception : public std::exception +#include "multimc_logic_export.h" + +class MULTIMC_LOGIC_EXPORT Exception : public std::exception { public: Exception(const QString &message) : std::exception(), m_message(message) @@ -30,12 +32,3 @@ public: private: QString m_message; }; - -#define DECLARE_EXCEPTION(name) \ - class name##Exception : public ::Exception \ - { \ - public: \ - name##Exception(const QString &message) : Exception(message) \ - { \ - } \ - } -- cgit v1.2.3