X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fnetwork.h;h=4e4d60d955b646dbef6269e32156ef196bb34ecb;hp=f0bd112ca8238bff95f6386094ae670c492b281a;hb=3da47d9186d1d40dc8fe998a130813b84345760d;hpb=30101791726fb39d5cb1101a8755621fb1780162 diff --git a/src/common/network.h b/src/common/network.h index f0bd112c..4e4d60d9 100644 --- a/src/common/network.h +++ b/src/common/network.h @@ -29,6 +29,7 @@ #include #include #include +#include #include "types.h" #include "util.h" @@ -214,6 +215,10 @@ public: static QStringList presetDefaultChannels(const QString &networkName); static NetworkInfo networkInfoFromPreset(const QString &networkName); + // Blowfish stuff + QByteArray bufferKey(const QString &recipient) const; + void setBufferKey(const QString &recipient, const QByteArray &key); + public slots: void setNetworkName(const QString &networkName); void setCurrentServer(const QString ¤tServer); @@ -340,6 +345,9 @@ private: QHash _ircChannels; // stores all known channels QHash _supports; // stores results from RPL_ISUPPORT + // Blowfish key map + QHash _keyHash; + ServerList _serverList; bool _useRandomServer; QStringList _perform;