From 6d6041f03cd0e70563f12d5332050588ad6858e7 Mon Sep 17 00:00:00 2001 From: Björn Hagemeister Date: Wed, 16 Apr 2014 18:15:28 +0200 Subject: New feature. Download of tutor-ip-list and automated assingment. TODO: Make source url configurable. --- src/server/mainwindow/mainwindow.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/server/mainwindow/mainwindow.h') diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 9b6c6d3..5d0bb18 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -4,6 +4,7 @@ #include #include #include "../net/client.h" +#include "../net/filedownloader.h" class SessionNameWindow; class ConnectionFrame; @@ -32,6 +33,8 @@ private: ListenServer *_listenServer; DiscoveryListener *_discoveryListener; qint64 _buttonBlockTime; + FileDownloader _fileDownloader; + QStringList _tutorList; void placeFrameInFreeSlot(ConnectionFrame* frame); ConnectionFrame* createFrame(); @@ -54,6 +57,7 @@ protected: protected slots: // This + void onTutorListDownloaded(QByteArray& tutorList); void onSessionNameClick(); void onSessionNameUpdate(); void onButtonSettings(); -- cgit v1.2.3-55-g7522