summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Roster/Roster.h')
-rw-r--r--Swiften/Roster/Roster.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Roster/Roster.h b/Swiften/Roster/Roster.h
index d54a12e..aa117d7 100644
--- a/Swiften/Roster/Roster.h
+++ b/Swiften/Roster/Roster.h
@@ -25,7 +25,7 @@ class ContactRosterItem;
class Roster {
public:
- Roster(bool fullJIDMapping = false);
+ Roster(bool sortByStatus = true, bool fullJIDMapping = false);
~Roster();
void addContact(const JID& jid, const JID& displayJID, const String& name, const String& group);
@@ -53,6 +53,7 @@ class Roster {
std::vector<RosterFilter*> filters_;
std::map<JID, std::vector<ContactRosterItem*> > itemMap_;
bool fullJIDMapping_;
+ bool sortByStatus_;
};
}