~singpolyma/biboumi

ref: ba61d2034058818fe76cef6b23f311259d37b3fe biboumi/src/bridge/list_element.hpp -rw-r--r-- 416 bytes
ba61d203 — louiz’ Empty the <command/> nodes before reusing them in our responses 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include <vector>
#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;
};


struct ChannelList
{
    bool complete{true};
    std::vector<ListElement> channels{};
};