From 9b2257d680a5e4fa2fda8cf3302f25054a06710e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 28 Dec 2014 14:44:50 +0100 Subject: Buffers wrapped into entity buffer, async command progress tracking. --- synchronizer/listener.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'synchronizer/listener.h') diff --git a/synchronizer/listener.h b/synchronizer/listener.h index 357ae37..4c35191 100644 --- a/synchronizer/listener.h +++ b/synchronizer/listener.h @@ -61,9 +61,6 @@ public: Listener(const QString &resourceName, QObject *parent = 0); ~Listener(); - void setRevision(unsigned long long revision); - unsigned long long revision() const; - Q_SIGNALS: void noClients(); @@ -79,15 +76,16 @@ private Q_SLOTS: void refreshRevision(); private: + void processCommand(int commandId, uint messageId, Client &client, uint size, const std::function &callback); bool processClientBuffer(Client &client); void sendCurrentRevision(Client &client); void sendCommandCompleted(Client &client, uint messageId); void updateClientsWithRevision(); void loadResource(); + void log(const QString &); QLocalServer *m_server; QVector m_connections; - unsigned long long m_revision; flatbuffers::FlatBufferBuilder m_fbb; const QString m_resourceName; Akonadi2::Resource *m_resource; -- cgit v1.2.3