diff options
Diffstat (limited to 'src/client/vnc/vncthread.h')
-rw-r--r-- | src/client/vnc/vncthread.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/client/vnc/vncthread.h b/src/client/vnc/vncthread.h index 38f5e17..16491fe 100644 --- a/src/client/vnc/vncthread.h +++ b/src/client/vnc/vncthread.h @@ -39,19 +39,13 @@ class VncThread : public QThread private: rfbClient *_client; - quint8 *_frameBuffer; QString _host; int _port; QString _passwd; int _quality; - QImage _img; - QSharedPointer<QImage> _imgScaled; - QSize _clientSize; - QSize _localSize; - - int _srcStepX, _srcStepY, _dstStepX, _dstStepY; + QSharedPointer<QImage> _img; volatile bool _connected; volatile bool _run; @@ -71,11 +65,10 @@ public: VncThread(QString host, int port, QString passwd, int quality); ~VncThread(); - const QSize& getSourceSize() const { return _clientSize; } const QString getDesktopName() const; bool isConnected() { return _connected; } void stop() { _run = false; } - void setTargetBuffer(QSharedPointer<QImage> &buffer); + const QSharedPointer<QImage>& getFrameBuffer() { return _img; } void run(); int const static HIGH = 0; |