X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.h;h=52a2b666ed3cb8e8206d77bdf40973c8f68f888c;hp=4d7559d2b33a6399156fedf397533230cf564c5c;hb=46984aca05b2d5f8dddd0c8739e60a1753078123;hpb=32023e27e875eede980d7323c1d05b5d4cc795d8 diff --git a/src/core/coresessioneventprocessor.h b/src/core/coresessioneventprocessor.h index 4d7559d2..52a2b666 100644 --- a/src/core/coresessioneventprocessor.h +++ b/src/core/coresessioneventprocessor.h @@ -21,7 +21,8 @@ #ifndef CORESESSIONEVENTPROCESSOR_H #define CORESESSIONEVENTPROCESSOR_H -#include +#include "corenetwork.h" +#include "networkevent.h" class CoreSession; class IrcEvent; @@ -37,8 +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;