summaryrefslogtreecommitdiffstats
path: root/common/listener.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-28 21:02:58 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-28 21:02:58 +0200
commit07572b25af45c41a82eb8ddfdecf18e58958788b (patch)
tree2ecb98a9fbe7c7c0244d7511e543beff8df68c3a /common/listener.h
parentdd86c15b48f33c120c510327569fb1cc3ffa3d45 (diff)
downloadsink-07572b25af45c41a82eb8ddfdecf18e58958788b.tar.gz
sink-07572b25af45c41a82eb8ddfdecf18e58958788b.zip
Forward revision updates through resource
Diffstat (limited to 'common/listener.h')
-rw-r--r--common/listener.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/listener.h b/common/listener.h
index 560f052..649c3ed 100644
--- a/common/listener.h
+++ b/common/listener.h
@@ -75,15 +75,14 @@ private Q_SLOTS:
75 void checkConnections(); 75 void checkConnections();
76 void onDataAvailable(); 76 void onDataAvailable();
77 void processClientBuffers(); 77 void processClientBuffers();
78 void refreshRevision(); 78 void refreshRevision(qint64);
79 void quit(); 79 void quit();
80 80
81private: 81private:
82 void processCommand(int commandId, uint messageId, const QByteArray &commandBuffer, Client &client, const std::function<void()> &callback); 82 void processCommand(int commandId, uint messageId, const QByteArray &commandBuffer, Client &client, const std::function<void()> &callback);
83 bool processClientBuffer(Client &client); 83 bool processClientBuffer(Client &client);
84 void sendCurrentRevision(Client &client);
85 void sendCommandCompleted(QLocalSocket *socket, uint messageId); 84 void sendCommandCompleted(QLocalSocket *socket, uint messageId);
86 void updateClientsWithRevision(); 85 void updateClientsWithRevision(qint64);
87 void loadResource(); 86 void loadResource();
88 void readFromSocket(QLocalSocket *socket); 87 void readFromSocket(QLocalSocket *socket);
89 88