Reworked the builder code to setup for more async running of the build.
This commit is contained in:
parent
bc3790efd3
commit
50c0ee3424
3 changed files with 44 additions and 27 deletions
11
builder.hpp
11
builder.hpp
|
@ -5,6 +5,15 @@
|
|||
|
||||
using std::string;
|
||||
|
||||
struct MatchResult {
|
||||
bool match = false;
|
||||
string file_name = "";
|
||||
string lnumber = "";
|
||||
string col = "";
|
||||
string type = "";
|
||||
string message = "";
|
||||
};
|
||||
|
||||
class Builder {
|
||||
GUI gui;
|
||||
GameEngine game;
|
||||
|
@ -15,7 +24,7 @@ class Builder {
|
|||
|
||||
Builder(GUI &g, GameEngine &engine);
|
||||
|
||||
void run_build(const string &line);
|
||||
MatchResult parse_line(const string &line);
|
||||
|
||||
void run();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue