diff options
Diffstat (limited to 'Swift/Controllers/HistoryController.h')
-rw-r--r-- | Swift/Controllers/HistoryController.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/HistoryController.h b/Swift/Controllers/HistoryController.h index 6ead3f1..0d337f6 100644 --- a/Swift/Controllers/HistoryController.h +++ b/Swift/Controllers/HistoryController.h @@ -21,7 +21,8 @@ namespace Swift { ~HistoryController(); void addMessage(const JID& baseJID, const JID& fromJID, const std::string& displayNick, const std::string& messageBody, boost::posix_time::ptime timeStamp); - std::vector<HistoryMessage> getMessages() const; + std::vector<HistoryMessage> getMessages(const JID& baseJID) const; + std::vector<JID> getAllContacts() const; private: HistoryManager* localHistory_; |