X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fircparser.h;h=bddccf46cb31bf0ede07940b877b17713e24a45d;hb=694f9bfbf7f1af19108461c7e00d133e55082bce;hp=402e656bd1e14f3dc914058d998cf79913f56d66;hpb=88b350153eb364853e75d237d3eed2dfaf839d59;p=quassel.git diff --git a/src/core/ircparser.h b/src/core/ircparser.h index 402e656b..bddccf46 100644 --- a/src/core/ircparser.h +++ b/src/core/ircparser.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2010 by the Quassel Project * + * Copyright (C) 2005-2012 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -28,28 +28,30 @@ class EventManager; class IrcEvent; class NetworkDataEvent; -class IrcParser : public QObject { - Q_OBJECT +class IrcParser : public QObject +{ + Q_OBJECT public: - IrcParser(CoreSession *session); + IrcParser(CoreSession *session); - inline CoreSession *coreSession() const { return _coreSession; } - inline EventManager *eventManager() const { return coreSession()->eventManager(); } + inline CoreSession *coreSession() const { return _coreSession; } + inline EventManager *eventManager() const { return coreSession()->eventManager(); } signals: - void newEvent(Event *); + void newEvent(Event *); protected: - Q_INVOKABLE void processNetworkIncoming(NetworkDataEvent *e); + Q_INVOKABLE void processNetworkIncoming(NetworkDataEvent *e); - bool checkParamCount(const QString &cmd, const QList ¶ms, int minParams); + bool checkParamCount(const QString &cmd, const QList ¶ms, int minParams); - // no-op if we don't have crypto support! - QByteArray decrypt(Network *network, const QString &target, const QByteArray &message, bool isTopic = false); + // no-op if we don't have crypto support! + QByteArray decrypt(Network *network, const QString &target, const QByteArray &message, bool isTopic = false); private: - CoreSession *_coreSession; + CoreSession *_coreSession; }; + #endif