diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-01 11:54:37 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-01 12:01:13 +0100 |
commit | 2f52bd2ed26cc151fa90ed9e06b1ea9990f9fc7c (patch) | |
tree | e125101f32ad78a679c63f9c08571d3b11cd691f /client/resourceaccess.h | |
parent | af38dcdf3a836a1b94064a617acac387a2de6539 (diff) | |
download | sink-2f52bd2ed26cc151fa90ed9e06b1ea9990f9fc7c.tar.gz sink-2f52bd2ed26cc151fa90ed9e06b1ea9990f9fc7c.zip |
send revision updates from resource to client
this includes an initial revision message on connect
Diffstat (limited to 'client/resourceaccess.h')
-rw-r--r-- | client/resourceaccess.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/resourceaccess.h b/client/resourceaccess.h index 53b46c5..09df614 100644 --- a/client/resourceaccess.h +++ b/client/resourceaccess.h | |||
@@ -21,15 +21,19 @@ public Q_SLOTS: | |||
21 | 21 | ||
22 | Q_SIGNALS: | 22 | Q_SIGNALS: |
23 | void ready(bool isReady); | 23 | void ready(bool isReady); |
24 | void revisionChanged(unsigned long long revision); | ||
24 | 25 | ||
25 | private Q_SLOTS: | 26 | private Q_SLOTS: |
26 | void connected(); | 27 | void connected(); |
27 | void disconnected(); | 28 | void disconnected(); |
28 | void connectionError(QLocalSocket::LocalSocketError error); | 29 | void connectionError(QLocalSocket::LocalSocketError error); |
30 | void readResourceMessage(); | ||
31 | bool processMessageBuffer(); | ||
29 | 32 | ||
30 | private: | 33 | private: |
31 | QString m_resourceName; | 34 | QString m_resourceName; |
32 | QLocalSocket *m_socket; | 35 | QLocalSocket *m_socket; |
33 | QTimer *m_tryOpenTimer; | 36 | QTimer *m_tryOpenTimer; |
34 | bool m_startingProcess; | 37 | bool m_startingProcess; |
38 | QByteArray m_partialMessageBuffer; | ||
35 | }; | 39 | }; |