summaryrefslogtreecommitdiff
path: root/src/bridge/list_element.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-02-26 05:02:08 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-02-26 05:02:08 +0100
commitc01befb054075ab414fd602859e5999a138aa5bf (patch)
tree37e521b9f3cc678d2cc994e2ec5f39da6ef79232 /src/bridge/list_element.hpp
parent6a2240f5935a4608e651a33c39219e912c9ea9ba (diff)
downloadbiboumi-c01befb054075ab414fd602859e5999a138aa5bf.tar.gz
biboumi-c01befb054075ab414fd602859e5999a138aa5bf.tar.bz2
biboumi-c01befb054075ab414fd602859e5999a138aa5bf.tar.xz
biboumi-c01befb054075ab414fd602859e5999a138aa5bf.zip
Implement room discovery using the LIST irc command
ref #2472
Diffstat (limited to 'src/bridge/list_element.hpp')
-rw-r--r--src/bridge/list_element.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/bridge/list_element.hpp b/src/bridge/list_element.hpp
new file mode 100644
index 0000000..bd28185
--- /dev/null
+++ b/src/bridge/list_element.hpp
@@ -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 */