Open source Star Ruler 2 source code!

This commit is contained in:
Lucas de Vries
2018-07-17 14:15:37 +02:00
commit cc307720ff
4342 changed files with 2365070 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#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();
};