diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-07-04 11:04:13 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-07-04 12:35:27 (GMT) |
commit | 558e5eb1b4b7d7de5ef291c173ed6ac012f23854 (patch) | |
tree | 33aee26438ca0ac1de7bcc4817e932bd47445fa4 /Swift/Controllers/Roster/TableRoster.h | |
parent | f2bbeeae4f277ab02edee8fb39cbd397931595e2 (diff) | |
download | swift-contrib-558e5eb1b4b7d7de5ef291c173ed6ac012f23854.zip swift-contrib-558e5eb1b4b7d7de5ef291c173ed6ac012f23854.tar.bz2 |
Fixed TableRoster bugs.
Diffstat (limited to 'Swift/Controllers/Roster/TableRoster.h')
-rw-r--r-- | Swift/Controllers/Roster/TableRoster.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/Controllers/Roster/TableRoster.h b/Swift/Controllers/Roster/TableRoster.h index 7360d20..a19d592 100644 --- a/Swift/Controllers/Roster/TableRoster.h +++ b/Swift/Controllers/Roster/TableRoster.h @@ -11,6 +11,7 @@ #include <Swiften/Base/boost_bsignals.h> #include <Swiften/JID/JID.h> +#include <Swiften/Elements/StatusShow.h> namespace Swift { class Roster; @@ -20,11 +21,12 @@ namespace Swift { class TableRoster { public: struct Item { - Item(const std::string& name, const std::string& description, const JID& jid) : name(name), description(description), jid(jid) { + Item(const std::string& name, const std::string& description, const JID& jid, StatusShow::Type status) : name(name), description(description), jid(jid), status(status) { } std::string name; std::string description; JID jid; + StatusShow::Type status; }; struct Index { |