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/FileSystem.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'logic/FileSystem.h') diff --git a/logic/FileSystem.h b/logic/FileSystem.h index e70f3165..a66e7ead 100644 --- a/logic/FileSystem.h +++ b/logic/FileSystem.h @@ -4,10 +4,17 @@ #include "Exception.h" +#include "multimc_logic_export.h" + namespace FS { -DECLARE_EXCEPTION(FileSystem); -void write(const QString &filename, const QByteArray &data); -QByteArray read(const QString &filename); +class MULTIMC_LOGIC_EXPORT FileSystemException : public ::Exception +{ +public: + FileSystemException(const QString &message) : Exception(message) {} +}; + +void MULTIMC_LOGIC_EXPORT write(const QString &filename, const QByteArray &data); +QByteArray MULTIMC_LOGIC_EXPORT read(const QString &filename); } -- cgit v1.2.3