diff options
author | Tom Sutcliffe <ext-thomas.1.sutcliffe@nokia.com> | 2011-05-11 10:09:23 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2011-05-11 10:11:52 (GMT) |
commit | 7acaea8557c1c6a758d9a26eff3fb1b3ec19084f (patch) | |
tree | 9d3946a31537e190b524317953c95af5ad71316e /src/plugins/qmltooling/qmldbg_ost/qostdevice.h | |
parent | baecfbc7f7e0ec7edddb74a2e760c685977e9084 (diff) | |
download | Qt-7acaea8557c1c6a758d9a26eff3fb1b3ec19084f.zip Qt-7acaea8557c1c6a758d9a26eff3fb1b3ec19084f.tar.gz Qt-7acaea8557c1c6a758d9a26eff3fb1b3ec19084f.tar.bz2 |
QmlDebug: Fix QmlOstPlugin compilation failure
Implement waitForMessage()/waitForReadyRead functionality required
by bde58ad1e7d2b38d.
Reviewed-by: kkoehne
Diffstat (limited to 'src/plugins/qmltooling/qmldbg_ost/qostdevice.h')
-rw-r--r-- | src/plugins/qmltooling/qmldbg_ost/qostdevice.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/qmltooling/qmldbg_ost/qostdevice.h b/src/plugins/qmltooling/qmldbg_ost/qostdevice.h index 2c26ff7..200e607 100644 --- a/src/plugins/qmltooling/qmldbg_ost/qostdevice.h +++ b/src/plugins/qmltooling/qmldbg_ost/qostdevice.h @@ -61,10 +61,12 @@ public: bool open(int ostProtocolId); void close(); + bool waitForReadyRead(int msecs); + qint64 bytesAvailable() const; + protected: qint64 readData(char *data, qint64 maxSize); qint64 writeData(const char *data, qint64 maxSize); - qint64 bytesAvailable() const; private: QOstDevicePrivate* d_ptr; |