X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=d93c62b499eb527eed16182378a07858f8e7d8ff;hb=1b7bda6032edddeb3d6895916e1c968acef19979;hp=74ad8685ed0f18606c183c2b770dc965f414a1d7;hpb=64cf9f9b8a737dad5f29447805d4004cfd03c454;p=quassel.git diff --git a/src/client/client.h b/src/client/client.h index 74ad8685..d93c62b4 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 * @@ -49,6 +49,7 @@ class ClientBacklogManager; class ClientBufferViewManager; class ClientIgnoreListManager; class ClientIrcListHelper; +class ClientTransferManager; class ClientUserInputHandler; class CoreAccountModel; class CoreConnection; @@ -56,6 +57,7 @@ class IrcUser; class IrcChannel; class NetworkConfig; class SignalProxy; + struct NetworkInfo; class Client : public QObject @@ -117,6 +119,7 @@ public: static inline ClientUserInputHandler *inputHandler() { return instance()->_inputHandler; } static inline NetworkConfig *networkConfig() { return instance()->_networkConfig; } static inline ClientIgnoreListManager *ignoreListManager() { return instance()->_ignoreListManager; } + static inline ClientTransferManager *transferManager() { return instance()->_transferManager; } static inline CoreAccountModel *coreAccountModel() { return instance()->_coreAccountModel; } static inline CoreConnection *coreConnection() { return instance()->_coreConnection; } @@ -139,7 +142,11 @@ public: static void mergeBuffersPermanently(BufferId bufferId1, BufferId bufferId2); static void purgeKnownBufferIds(); +#if QT_VERSION < 0x050000 static void logMessage(QtMsgType type, const char *msg); +#else + static void logMessage(QtMsgType, const QMessageLogContext&, const QString&); +#endif static inline const QString &debugLog() { return instance()->_debugLogBuffer; } signals: @@ -234,6 +241,7 @@ private: ClientUserInputHandler *_inputHandler; NetworkConfig *_networkConfig; ClientIgnoreListManager *_ignoreListManager; + ClientTransferManager *_transferManager; MessageModel *_messageModel; AbstractMessageProcessor *_messageProcessor;