]> git.sesse.net Git - ccbs/blobdiff - bigscreen/fetch_auxilliary_screens.h
Fetch the list of auxilliary screens.
[ccbs] / bigscreen / fetch_auxilliary_screens.h
diff --git a/bigscreen/fetch_auxilliary_screens.h b/bigscreen/fetch_auxilliary_screens.h
new file mode 100644 (file)
index 0000000..7aff0b6
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef _FETCH_AUXILLIARY_SCREENS_H
+#define _FETCH_AUXILLIARY_SCREENS_H 1
+
+#include <pqxx/transactor>
+#include <vector>
+#include "widestring.h"
+
+/* A transactor that fetches the current list of active groups. */
+class FetchAuxilliaryScreens : public pqxx::transactor<> {
+private:
+       std::vector<widestring> *screens;
+
+public:
+       FetchAuxilliaryScreens(std::vector<widestring> *screens);
+       void operator() (pqxx::transaction<> &t);
+};
+
+#endif /* !defined(_FETCH_AUXILLIARY_SCREENS_H) */