From 93786820aad505e00d5c1c07228ef7aa6c3f22b8 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 9 Jul 2014 14:57:00 +0200 Subject: core_whowas Create class WhoWas::Nick, store pointers to those in the map --- include/commands/cmd_whowas.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'include/commands') diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index 0a38b44f1..b058ef37d 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -30,9 +30,21 @@ class WhoWasGroup; */ typedef std::deque whowas_set; +namespace WhoWas +{ + /** Everything known about one nick + */ + struct Nick + { + /** Container where each element has information about one occurrence of this nick + */ + whowas_set entries; + }; +} + /** Sets of users in the whowas system */ -typedef std::map whowas_users; +typedef std::map whowas_users; /** Sets of time and users in whowas list */ -- cgit v1.2.3