diff options
author | Tobias Markmann <tm@ayena.de> | 2015-06-07 22:34:19 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-06-08 09:37:53 (GMT) |
commit | b6b0695643f932827add43b9de0e09ed74eb6799 (patch) | |
tree | 72456efba9fab6fbc6004a98f0a61b7a8167f791 /Swiften/History | |
parent | 3741c9ad5c0cc6f92e4ed913d67b3b530882334e (diff) | |
download | swift-b6b0695643f932827add43b9de0e09ed74eb6799.zip swift-b6b0695643f932827add43b9de0e09ed74eb6799.tar.bz2 |
Add missing SWIFTEN_API annotations to public Swiften API
Test-Information:
Tested build on Windows 8 with VS 2014 and ran unit tests.
Change-Id: I3d8096df4801be6901f22564e36eecba0e7310c4
Diffstat (limited to 'Swiften/History')
-rw-r--r-- | Swiften/History/HistoryMessage.h | 5 | ||||
-rw-r--r-- | Swiften/History/HistoryStorage.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Swiften/History/HistoryMessage.h b/Swiften/History/HistoryMessage.h index 50aa828..cf33b0c 100644 --- a/Swiften/History/HistoryMessage.h +++ b/Swiften/History/HistoryMessage.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -7,10 +7,11 @@ #pragma once #include <Swiften/JID/JID.h> +#include <Swiften/Base/API.h> #include <boost/date_time/posix_time/posix_time_types.hpp> namespace Swift { - class HistoryMessage { + class SWIFTEN_API HistoryMessage { public: enum Type { Chat = 0, diff --git a/Swiften/History/HistoryStorage.h b/Swiften/History/HistoryStorage.h index 08173bf..99ade51 100644 --- a/Swiften/History/HistoryStorage.h +++ b/Swiften/History/HistoryStorage.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -9,6 +9,7 @@ #include <set> #include <map> #include <vector> +#include <Swiften/Base/API.h> #include <Swiften/JID/JID.h> #include <Swiften/History/HistoryMessage.h> #include <boost/date_time/gregorian/gregorian_types.hpp> @@ -16,7 +17,7 @@ namespace Swift { typedef std::map<JID, std::set<boost::gregorian::date> > ContactsMap; - class HistoryStorage { + class SWIFTEN_API HistoryStorage { /** * Messages are stored using localtime timestamps. */ |