diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-06-30 16:39:36 (GMT) |
---|---|---|
committer | Cătălin Badea <catalin.badea392@gmail.com> | 2012-08-11 15:52:57 (GMT) |
commit | e117ec6c534e1b6bc3f1bcd18dadf2005672c38b (patch) | |
tree | 71b1ef76e57f37693cd60b13ac17e92faaa33ed4 /Swift/Controllers/HistoryController.h | |
parent | 3a13bbd772f549a3ea218fe9f3a8ca6c293989f9 (diff) | |
download | swift-contrib-e117ec6c534e1b6bc3f1bcd18dadf2005672c38b.zip swift-contrib-e117ec6c534e1b6bc3f1bcd18dadf2005672c38b.tar.bz2 |
Changed HistoryMessage structure back
Diffstat (limited to 'Swift/Controllers/HistoryController.h')
-rw-r--r-- | Swift/Controllers/HistoryController.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/HistoryController.h b/Swift/Controllers/HistoryController.h index 0d337f6..9a38b15 100644 --- a/Swift/Controllers/HistoryController.h +++ b/Swift/Controllers/HistoryController.h @@ -20,8 +20,8 @@ namespace Swift { HistoryController(); ~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 JID& baseJID) const; + void addMessage(const std::string& message, const JID& fromJID, const JID& toJID, const boost::posix_time::ptime& timeStamp); + std::vector<HistoryMessage> getMessages(const JID& selfJID, const JID& contactJID) const; std::vector<JID> getAllContacts() const; private: |