X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Ffetch_list_of_active_groups.h;h=68f0500bd6ba22bfbc7d9bac70671df1b8c9cda1;hp=113160d85f5b69f21357e132a11946e8dc9b0f05;hb=6c10aec4722be34e2aa39805c29c7fb057eb7707;hpb=44f3ad694f8fe5dd76602d30c9bc1f3de9650f97 diff --git a/bigscreen/fetch_list_of_active_groups.h b/bigscreen/fetch_list_of_active_groups.h index 113160d..68f0500 100644 --- a/bigscreen/fetch_list_of_active_groups.h +++ b/bigscreen/fetch_list_of_active_groups.h @@ -4,17 +4,17 @@ #include #include -struct Group { - unsigned tournament, round, parallel; +struct SkeletonGroup { + unsigned tournament, round, parallel, num_machines, players_per_machine; }; /* A transactor that fetches the current list of active groups. */ class FetchListOfActiveGroups : public pqxx::transactor<> { private: - std::vector *active; + std::vector *active; public: - FetchListOfActiveGroups(std::vector *active); + FetchListOfActiveGroups(std::vector *active); void operator() (pqxx::transaction<> &t); };