Refactor Report class into ReportBase & ReportCons

This commit is contained in:
2023-08-21 17:16:29 +02:00
parent 0f66ac73d0
commit 8066701c3c
11 changed files with 122 additions and 73 deletions

View File

@@ -1,7 +1,7 @@
#include <filesystem>
#include "platformUtils.h"
#include "Results.h"
#include "Report.h"
#include "ReportConsole.h"
#include "BestResult.h"
#include "Colors.h"
namespace platform {
@@ -98,7 +98,7 @@ namespace platform {
{
cout << Colors::YELLOW() << "Reporting " << files.at(index).getFilename() << endl;
auto data = files.at(index).load();
Report report(data);
ReportConsole report(data);
report.show();
}
void Results::menu()