#include "ui_mainwindow.h"
#include "events.h"
#include "players.h"
+#include "json.h"
using namespace std;
QApplication app(argc, argv);
sqlite3 *db = open_db("ultimate.db");
+ // TODO: do this on-demand instead, from a menu
+ export_to_json(db, "ultimate.json");
+
int requested_match = -1;
if (argc >= 2) {
requested_match = atoi(argv[1]);