summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/History')
-rw-r--r--Swiften/History/HistoryMessage.h5
-rw-r--r--Swiften/History/HistoryStorage.h5
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.
*/