diff options
Diffstat (limited to 'Swift/Controllers')
-rw-r--r-- | Swift/Controllers/HistoryController.cpp | 11 | ||||
-rw-r--r-- | Swift/Controllers/HistoryController.h | 13 |
2 files changed, 16 insertions, 8 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 @@ -5,20 +5,23 @@ */ /* - * Copyright (c) 2014 Isode Limited. + * Copyright (c) 2014-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include <Swift/Controllers/HistoryController.h> -#include <Swiften/History/HistoryStorage.h> -#include <Swiften/History/HistoryMessage.h> + #include <boost/date_time/c_local_time_adjustor.hpp> +#include <Swiften/History/HistoryMessage.h> +#include <Swiften/History/HistoryStorage.h> +#include <Swiften/JID/JID.h> + namespace Swift { -HistoryController::HistoryController(HistoryStorage* localHistoryStorage) : localHistory_(localHistoryStorage), remoteArchiveSupported_(false) { +HistoryController::HistoryController(HistoryStorage* localHistoryStorage) : localHistory_(localHistoryStorage) { } HistoryController::~HistoryController() { diff --git a/Swift/Controllers/HistoryController.h b/Swift/Controllers/HistoryController.h index 8c86409..0bdbb35 100644 --- a/Swift/Controllers/HistoryController.h +++ b/Swift/Controllers/HistoryController.h @@ -4,12 +4,18 @@ * See Documentation/Licenses/BSD-simplified.txt for more information. */ +/* + * Copyright (c) 2015 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. + */ + #pragma once -#include <Swiften/JID/JID.h> -#include <boost/date_time/posix_time/posix_time.hpp> #include <vector> -#include <set> + +#include <boost/date_time/posix_time/posix_time.hpp> + #include <Swiften/Base/boost_bsignals.h> #include <Swiften/History/HistoryMessage.h> #include <Swiften/History/HistoryStorage.h> @@ -35,6 +41,5 @@ namespace Swift { private: HistoryStorage* localHistory_; - bool remoteArchiveSupported_; }; } |