1 #ifndef _FETCH_MAX_SCORE_FOR_PLAYER_H
2 #define _FETCH_MAX_SCORE_FOR_PLAYER_H 1
4 #include <pqxx/transactor>
6 /* A transactor that fetches the maximum score for a song */
7 class FetchMaxScoreForPlayer : public pqxx::transactor<> {
9 unsigned tournament, player, round, *score;
12 FetchMaxScoreForPlayer(unsigned tournament, unsigned player, unsigned round, unsigned *score);
13 void operator() (pqxx::transaction<> &t);
16 #endif /* !defined(_FETCH_MAX_SCORE_FOR_PLAYER_H) */