1 #ifndef _FETCH_LIST_OF_FINISHED_GROUPS_H
2 #define _FETCH_LIST_OF_FINISHED_GROUPS_H 1
4 #include <pqxx/transactor>
6 #include "fetch_list_of_active_groups.h"
9 * A transactor that fetches the current list of finished groups (ie. parallels
10 * with no non-NULL scores, that are not shown elsewhere on the bigscreen).
12 class FetchListOfFinishedGroups : public pqxx::transactor<> {
15 std::vector<SkeletonGroup> *active;
18 FetchListOfFinishedGroups(unsigned tournament, std::vector<SkeletonGroup> *active);
19 void operator() (pqxx::transaction<> &t);
22 #endif /* !defined(_FETCH_LIST_OF_FINISHED_GROUPS_H) */