]> git.sesse.net Git - ccbs/blobdiff - bigscreen/groupscreen.h
Make the bigscreen application support running groups on multiple machines.
[ccbs] / bigscreen / groupscreen.h
index 3d24403443e6aa0b957a02ee9aa73abd3f3fdd5f..21ab17248e2bb4ab54056e9778d12a63f3d422a2 100644 (file)
@@ -14,7 +14,7 @@
 /* A screen class showing a group in the tournament */
 class GroupScreen : public GenericScreen {
 private:
-       unsigned tournament, round, parallel;
+       unsigned tournament, round, parallel, machine, num_machines;
        FlagTrigger scores_changed;
        pqxx::connection &conn;
        bool valid;
@@ -22,7 +22,7 @@ private:
        std::vector<TextDefer> last_text;
 
 public:
-       GroupScreen(pqxx::connection &conn, unsigned tournament, unsigned round, unsigned parallel);
+       GroupScreen(pqxx::connection &conn, unsigned tournament, unsigned round, unsigned parallel, unsigned machine, unsigned num_machines);
        virtual ~GroupScreen();
 
        bool check_invalidated();