X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=inline;f=src%2Fclient%2Fclient.h;h=74ad8685ed0f18606c183c2b770dc965f414a1d7;hb=64cf9f9b8a737dad5f29447805d4004cfd03c454;hp=460bedee46c2171244c0e05709e99d6e7bee03df;hpb=02bebb4c8f1c45397c55f1660176bfa0c303e703;p=quassel.git diff --git a/src/client/client.h b/src/client/client.h index 460bedee..74ad8685 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -25,6 +25,7 @@ #include #include "bufferinfo.h" +#include "coreaccount.h" #include "coreconnection.h" #include "quassel.h" #include "types.h" @@ -122,6 +123,8 @@ public: static inline CoreAccount currentCoreAccount() { return coreConnection()->currentAccount(); } static inline Quassel::Features coreFeatures() { return _coreFeatures; } + static void setCoreFeatures(Quassel::Features features); + static bool isConnected(); static bool internalCore(); @@ -214,7 +217,6 @@ private: void init(); static void addNetwork(Network *); - static void setCoreFeatures(Quassel::Features); static inline BufferSyncer *bufferSyncer() { return instance()->_bufferSyncer; } static QPointer instanceptr;