Files
2018-07-17 14:15:37 +02:00

26 lines
320 B
C++

#pragma once
#include <vector>
#include <string>
class BBCode {
public:
struct Tag {
int type;
int value;
std::string name;
std::string argument;
std::vector<Tag> contents;
Tag() : type(0), value(0) {
}
};
Tag root;
void parse(const std::string& content);
void clear();
BBCode();
~BBCode();
};