added "join channel" to network context menu in the bufferview (bug 122)
[quassel.git] / src / client / client.h
index 21e6102..30a3d16 100644 (file)
@@ -62,6 +62,8 @@ public:
   static Buffer *buffer(BufferInfo);
   static inline Buffer *monitorBuffer() { return instance()->_monitorBuffer; }
 
+  Buffer *statusBuffer(const NetworkId &networkid) const;
+
   static QList<NetworkId> networkIds();
   static const Network * network(NetworkId);
 
@@ -208,6 +210,7 @@ private:
   bool _connectedToCore, _syncedToCore;
 
   QHash<BufferId, Buffer *> _buffers;
+  QHash<NetworkId, Buffer *> _statusBuffers; // fast lookup
   QHash<NetworkId, Network *> _networks;
   QHash<IdentityId, Identity *> _identities;