diff options
| author | Tobias Markmann <tm@ayena.de> | 2015-09-14 21:05:58 (GMT) |
|---|---|---|
| committer | Kevin Smith <kevin.smith@isode.com> | 2015-09-22 15:00:47 (GMT) |
| commit | 74116593461c0c7b233dad96034768264e7a59ec (patch) | |
| tree | 0794a0076d54a49e99f046508fc57f07ca56b921 /Swift/Controllers/HistoryController.h | |
| parent | 9b48a737db5237ecdec062a64b65e6a90c1f9cde (diff) | |
| download | swift-74116593461c0c7b233dad96034768264e7a59ec.zip swift-74116593461c0c7b233dad96034768264e7a59ec.tar.bz2 | |
Fix 'unused' member/parameter compiler warnings reported for Swift
Test-Information:
Still compiles, the menitoned warnings in Swift are gone and unit
tests pass.
Change-Id: I8e113e7faf2e9273b4741f18c19e35e1b7bc7661
Diffstat (limited to 'Swift/Controllers/HistoryController.h')
| -rw-r--r-- | Swift/Controllers/HistoryController.h | 13 |
1 files changed, 9 insertions, 4 deletions
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 @@ -1,21 +1,27 @@ /* * Copyright (c) 2012 Catalin Badea * Licensed under the simplified BSD license. * 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> namespace Swift { class JID; class HistoryController { public: @@ -29,12 +35,11 @@ namespace Swift { ContactsMap getContacts(const JID& selfJID, HistoryMessage::Type type, const std::string& keyword = std::string()) const; std::vector<HistoryMessage> getMUCContext(const JID& selfJID, const JID& mucJID, const boost::posix_time::ptime& timeStamp) const; boost::posix_time::ptime getLastTimeStampFromMUC(const JID& selfJID, const JID& mucJID); boost::signal<void (const HistoryMessage&)> onNewMessage; private: HistoryStorage* localHistory_; - bool remoteArchiveSupported_; }; } |
Swift