X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=74ad8685ed0f18606c183c2b770dc965f414a1d7;hp=a6e562210bc2e52adca3c0f59f993e0dd940c4e6;hb=64cf9f9b8a737dad5f29447805d4004cfd03c454;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/client/client.h b/src/client/client.h index a6e56221..74ad8685 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2013 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef 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;