X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=9968bd15dfcb8e6fdab691180d87cbc94cd29bbe;hb=8544d22f38e453776f01fabfa6083cec00cf6e50;hp=460bedee46c2171244c0e05709e99d6e7bee03df;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e;p=quassel.git diff --git a/src/client/client.h b/src/client/client.h index 460bedee..9968bd15 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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;