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