X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fircparser.h;h=4bfb48d881c35d74dbf15a1bbaab71260021ca0d;hb=33a1a6f1bf47db069acae3eaa88a1aa156342002;hp=76d30fb37d16721af1f7696d89fbeea208d16dc2;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/core/ircparser.h b/src/core/ircparser.h index 76d30fb3..4bfb48d8 100644 --- a/src/core/ircparser.h +++ b/src/core/ircparser.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,10 +18,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef IRCPARSER_H -#define IRCPARSER_H +#pragma once #include "coresession.h" +#include "irctag.h" class Event; class EventManager; @@ -33,7 +33,7 @@ class IrcParser : public QObject Q_OBJECT public: - IrcParser(CoreSession* session); + explicit IrcParser(CoreSession* session); inline CoreSession* coreSession() const { return _coreSession; } inline EventManager* eventManager() const { return coreSession()->eventManager(); } @@ -54,6 +54,6 @@ private: bool _debugLogRawIrc; ///< If true, include raw IRC socket messages in the debug log qint32 _debugLogRawNetId; ///< Network ID for logging raw IRC socket messages, or -1 for all + bool _debugLogParsedIrc; ///< If true, include parsed IRC socket messages in the debug log + qint32 _debugLogParsedNetId; ///< Network ID for logging parsed IRC socket messages, or -1 for all }; - -#endif