Reworked the builder code to setup for more async running of the build.

This commit is contained in:
Zed A. Shaw 2024-09-09 01:10:47 -04:00
parent bc3790efd3
commit 50c0ee3424
3 changed files with 44 additions and 27 deletions

View file

@ -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();
};