1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 20:43:13 +02:00

Translate listformatter properly

This commit is contained in:
Adam
2013-09-22 11:25:11 -04:00
parent df3c0b7b52
commit 80c02740d0
30 changed files with 53 additions and 43 deletions
+2
View File
@@ -67,9 +67,11 @@ class CoreExport ListFormatter
public:
typedef std::map<Anope::string, Anope::string> ListEntry;
private:
NickCore *nc;
std::vector<Anope::string> columns;
std::vector<ListEntry> entries;
public:
ListFormatter(NickCore *nc);
ListFormatter &AddColumn(const Anope::string &name);
void AddEntry(const ListEntry &entry);
bool IsEmpty() const;