summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/HistoryController.cpp')
-rw-r--r--Swift/Controllers/HistoryController.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/Swift/Controllers/HistoryController.cpp b/Swift/Controllers/HistoryController.cpp
index cce139b..f439429 100644
--- a/Swift/Controllers/HistoryController.cpp
+++ b/Swift/Controllers/HistoryController.cpp
@@ -3,24 +3,27 @@
3 * Licensed under the simplified BSD license. 3 * Licensed under the simplified BSD license.
4 * See Documentation/Licenses/BSD-simplified.txt for more information. 4 * See Documentation/Licenses/BSD-simplified.txt for more information.
5 */ 5 */
6 6
7/* 7/*
8 * Copyright (c) 2014 Isode Limited. 8 * Copyright (c) 2014-2015 Isode Limited.
9 * All rights reserved. 9 * All rights reserved.
10 * See the COPYING file for more information. 10 * See the COPYING file for more information.
11 */ 11 */
12 12
13 13
14#include <Swift/Controllers/HistoryController.h> 14#include <Swift/Controllers/HistoryController.h>
15#include <Swiften/History/HistoryStorage.h> 15
16#include <Swiften/History/HistoryMessage.h>
17#include <boost/date_time/c_local_time_adjustor.hpp> 16#include <boost/date_time/c_local_time_adjustor.hpp>
18 17
18#include <Swiften/History/HistoryMessage.h>
19#include <Swiften/History/HistoryStorage.h>
20#include <Swiften/JID/JID.h>
21
19namespace Swift { 22namespace Swift {
20 23
21HistoryController::HistoryController(HistoryStorage* localHistoryStorage) : localHistory_(localHistoryStorage), remoteArchiveSupported_(false) { 24HistoryController::HistoryController(HistoryStorage* localHistoryStorage) : localHistory_(localHistoryStorage) {
22} 25}
23 26
24HistoryController::~HistoryController() { 27HistoryController::~HistoryController() {
25} 28}
26 29