Implement room discovery using the LIST irc command

ref #2472
This commit is contained in:
Florent Le Coz
2015-02-26 05:02:08 +01:00
parent 6a2240f593
commit c01befb054
7 changed files with 108 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef LIST_ELEMENT_HPP_INCLUDED
#define LIST_ELEMENT_HPP_INCLUDED
#include <string>
struct ListElement
{
ListElement(const std::string& channel, const std::string& nb_users,
const std::string& topic):
channel(channel),
nb_users(nb_users),
topic(topic){}
std::string channel;
std::string nb_users;
std::string topic;
};
#endif /* LIST_ELEMENT_HPP_INCLUDED */