A weird game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
turings-tarpit/builder.hpp

31 lines
481 B

#pragma once
#include "gui.hpp"
#include "game_engine.hpp"
#include <stdio.h>
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;
string git_path = "NOT SET";
string build_cmd = "NOT SET";
public:
Builder(GUI &g, GameEngine &engine);
MatchResult parse_line(const string &line);
void run();
};