]> git.sesse.net Git - ccbs/blob - bigscreen/fetch_auxilliary_screens.h
Combined patch (sorry): fix URL, fix points awarded.
[ccbs] / bigscreen / fetch_auxilliary_screens.h
1 #ifndef _FETCH_AUXILLIARY_SCREENS_H
2 #define _FETCH_AUXILLIARY_SCREENS_H 1
3
4 #include <pqxx/transactor>
5 #include <vector>
6 #include "widestring.h"
7
8 /* A transactor that fetches the current list of active groups. */
9 class FetchAuxilliaryScreens : public pqxx::transactor<> {
10 private:
11         std::vector<widestring> *screens;
12
13 public:
14         FetchAuxilliaryScreens(std::vector<widestring> *screens);
15         void operator() (pqxx::transaction<> &t);
16 };
17
18 #endif /* !defined(_FETCH_AUXILLIARY_SCREENS_H) */