projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
futher internal prettifications of the buffer switching process
[quassel.git]
/
src
/
client
/
client.h
diff --git
a/src/client/client.h
b/src/client/client.h
index
21e6102
..
4d1bad6
100644
(file)
--- a/
src/client/client.h
+++ b/
src/client/client.h
@@
-193,6
+193,8
@@
private:
static void setCurrentCoreAccount(AccountId);
static inline BufferSyncer *bufferSyncer() { return instance()->_bufferSyncer; }
static void setCurrentCoreAccount(AccountId);
static inline BufferSyncer *bufferSyncer() { return instance()->_bufferSyncer; }
+ Buffer *statusBuffer(const NetworkId &networkid) const;
+
static QPointer<Client> instanceptr;
QPointer<QIODevice> socket;
static QPointer<Client> instanceptr;
QPointer<QIODevice> socket;
@@
-208,6
+210,7
@@
private:
bool _connectedToCore, _syncedToCore;
QHash<BufferId, Buffer *> _buffers;
bool _connectedToCore, _syncedToCore;
QHash<BufferId, Buffer *> _buffers;
+ QHash<NetworkId, Buffer *> _statusBuffers; // fast lookup
QHash<NetworkId, Network *> _networks;
QHash<IdentityId, Identity *> _identities;
QHash<NetworkId, Network *> _networks;
QHash<IdentityId, Identity *> _identities;