summaryrefslogtreecommitdiffstats
path: root/synchronizer/listener.h
diff options
context:
space:
mode:
Diffstat (limited to 'synchronizer/listener.h')
-rw-r--r--synchronizer/listener.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/synchronizer/listener.h b/synchronizer/listener.h
index 5c725df..053fac3 100644
--- a/synchronizer/listener.h
+++ b/synchronizer/listener.h
@@ -21,7 +21,6 @@
21 21
22#include <QLocalServer> 22#include <QLocalServer>
23#include <QLocalSocket> 23#include <QLocalSocket>
24#include <QList>
25#include <QObject> 24#include <QObject>
26 25
27#include <flatbuffers/flatbuffers.h> 26#include <flatbuffers/flatbuffers.h>
@@ -31,6 +30,8 @@ namespace Akonadi2
31 class Resource; 30 class Resource;
32} 31}
33 32
33class QTimer;
34
34class Client 35class Client
35{ 36{
36public: 37public:
@@ -72,6 +73,7 @@ private Q_SLOTS:
72 void clientDropped(); 73 void clientDropped();
73 void checkConnections(); 74 void checkConnections();
74 void readFromSocket(); 75 void readFromSocket();
76 void processClientBuffers();
75 77
76private: 78private:
77 bool processClientBuffer(Client &client); 79 bool processClientBuffer(Client &client);
@@ -85,4 +87,5 @@ private:
85 flatbuffers::FlatBufferBuilder m_fbb; 87 flatbuffers::FlatBufferBuilder m_fbb;
86 const QString m_resourceName; 88 const QString m_resourceName;
87 Akonadi2::Resource *m_resource; 89 Akonadi2::Resource *m_resource;
90 QTimer *m_clientBufferProcessesTimer;
88}; 91};