diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-18 15:10:30 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-18 15:10:30 +0100 |
commit | 0d55900241772fa5cc5028934358cbcb28702c46 (patch) | |
tree | 1d64340a5fb81b9ee0b3884a3d77571b640dbe3a /common/listener.h | |
parent | 97fa1912a004c144ffb1392a6bfd0469e6047e3f (diff) | |
download | sink-0d55900241772fa5cc5028934358cbcb28702c46.tar.gz sink-0d55900241772fa5cc5028934358cbcb28702c46.zip |
Report success
Diffstat (limited to 'common/listener.h')
-rw-r--r-- | common/listener.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/listener.h b/common/listener.h index 248a190..3db1937 100644 --- a/common/listener.h +++ b/common/listener.h | |||
@@ -79,9 +79,9 @@ private Q_SLOTS: | |||
79 | void quit(); | 79 | void quit(); |
80 | 80 | ||
81 | private: | 81 | private: |
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(bool)> &callback); |
83 | bool processClientBuffer(Client &client); | 83 | bool processClientBuffer(Client &client); |
84 | void sendCommandCompleted(QLocalSocket *socket, uint messageId); | 84 | void sendCommandCompleted(QLocalSocket *socket, uint messageId, bool success); |
85 | void updateClientsWithRevision(qint64); | 85 | void updateClientsWithRevision(qint64); |
86 | Akonadi2::Resource *loadResource(); | 86 | Akonadi2::Resource *loadResource(); |
87 | void readFromSocket(QLocalSocket *socket); | 87 | void readFromSocket(QLocalSocket *socket); |