diff options
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 524a0b1..009e9d8 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -51,7 +51,9 @@ private: enum class Mode { Broadcast, Multicast, - LockedMulticast + Unicast, + LockedUnicast, + None } _mode; int _streamingSource; QMap<int, Client*> _watchers; @@ -76,7 +78,7 @@ private: ConnectionFrame* createFrame(); bool loadPosition(QSettings& settings, const QString& id, int& x, int& y); void savePosition(ConnectionFrame *cf); - void changeProjection(Client *from, Mode mode = Mode::Broadcast, Client *to = NULL); + void startVncServerIfNecessary(int from); void tellClientCurrentSituation(Client* client); void reset(); |