X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.h;h=52a2b666ed3cb8e8206d77bdf40973c8f68f888c;hp=fa647d0a8bf92812a067c6639f4f8bea1ee25867;hb=46984aca05b2d5f8dddd0c8739e60a1753078123;hpb=7c45e37945b0fa3baa5e8190991c9a2e24d357ba diff --git a/src/core/coresessioneventprocessor.h b/src/core/coresessioneventprocessor.h index fa647d0a..52a2b666 100644 --- a/src/core/coresessioneventprocessor.h +++ b/src/core/coresessioneventprocessor.h @@ -21,9 +21,11 @@ #ifndef CORESESSIONEVENTPROCESSOR_H #define CORESESSIONEVENTPROCESSOR_H -#include +#include "corenetwork.h" +#include "networkevent.h" class CoreSession; +class IrcEvent; class IrcEventNumeric; class CoreSessionEventProcessor : public QObject { @@ -36,7 +38,22 @@ public: Q_INVOKABLE void processIrcEventNumeric(IrcEventNumeric *event); + Q_INVOKABLE void processIrcEventAuthenticate(IrcEvent *event); // SASL auth + Q_INVOKABLE void processIrcEventCap(IrcEvent *event); // CAP framework + Q_INVOKABLE void processIrcEventInvite(IrcEvent *event); + Q_INVOKABLE void processIrcEventKick(IrcEvent *event); + Q_INVOKABLE void processIrcEventNick(IrcEvent *event); + Q_INVOKABLE void processIrcEventPart(IrcEvent *event); + Q_INVOKABLE void processIrcEventPong(IrcEvent *event); + Q_INVOKABLE void processIrcEventTopic(IrcEvent *event); + + Q_INVOKABLE void processIrcEvent001(IrcEvent *event); // RPL_WELCOME + + // Q_INVOKABLE void processIrcEvent(IrcEvent *event); + protected: + bool checkParamCount(IrcEvent *event, int minParams); + inline CoreNetwork *coreNetwork(NetworkEvent *e) const { return qobject_cast(e->network()); } private: CoreSession *_coreSession;