diff options
Diffstat (limited to 'resource/listener.cpp')
-rw-r--r-- | resource/listener.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resource/listener.cpp b/resource/listener.cpp index 5dd8cc3..038b3fa 100644 --- a/resource/listener.cpp +++ b/resource/listener.cpp | |||
@@ -148,7 +148,7 @@ bool Listener::processClientBuffer(Client &client) | |||
148 | 148 | ||
149 | switch (commandId) { | 149 | switch (commandId) { |
150 | case Commands::HandshakeCommand: { | 150 | case Commands::HandshakeCommand: { |
151 | auto buffer = Toynadi::GetHandshake(data.constData()); | 151 | auto buffer = Akonadi::GetHandshake(data.constData()); |
152 | Console::main()->log(QString(" Handshake from %1").arg(buffer->name()->c_str())); | 152 | Console::main()->log(QString(" Handshake from %1").arg(buffer->name()->c_str())); |
153 | sendCurrentRevision(client); | 153 | sendCurrentRevision(client); |
154 | break; | 154 | break; |
@@ -171,8 +171,8 @@ void Listener::sendCurrentRevision(Client &client) | |||
171 | } | 171 | } |
172 | 172 | ||
173 | flatbuffers::FlatBufferBuilder fbb; | 173 | flatbuffers::FlatBufferBuilder fbb; |
174 | auto command = Toynadi::CreateRevisionUpdate(fbb, m_revision); | 174 | auto command = Akonadi::CreateRevisionUpdate(fbb, m_revision); |
175 | Toynadi::FinishRevisionUpdateBuffer(fbb, command); | 175 | Akonadi::FinishRevisionUpdateBuffer(fbb, command); |
176 | const int commandId = Commands::RevisionUpdateCommand; | 176 | const int commandId = Commands::RevisionUpdateCommand; |
177 | const int dataSize = fbb.GetSize(); | 177 | const int dataSize = fbb.GetSize(); |
178 | client.socket->write((const char*)&commandId, sizeof(int)); | 178 | client.socket->write((const char*)&commandId, sizeof(int)); |
@@ -183,8 +183,8 @@ void Listener::sendCurrentRevision(Client &client) | |||
183 | void Listener::updateClientsWithRevision() | 183 | void Listener::updateClientsWithRevision() |
184 | { | 184 | { |
185 | flatbuffers::FlatBufferBuilder fbb; | 185 | flatbuffers::FlatBufferBuilder fbb; |
186 | auto command = Toynadi::CreateRevisionUpdate(fbb, m_revision); | 186 | auto command = Akonadi::CreateRevisionUpdate(fbb, m_revision); |
187 | Toynadi::FinishRevisionUpdateBuffer(fbb, command); | 187 | Akonadi::FinishRevisionUpdateBuffer(fbb, command); |
188 | const int commandId = Commands::RevisionUpdateCommand; | 188 | const int commandId = Commands::RevisionUpdateCommand; |
189 | const int dataSize = fbb.GetSize(); | 189 | const int dataSize = fbb.GetSize(); |
190 | 190 | ||