X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.h;h=0fd0c9e27b5145d4c37f962f6408f8f8241f4906;hp=6a163c6c2e224ff112af62fd2b9ee1e0fdbda201;hb=9c59843b54202a69f4c01171b28bf79b26c27975;hpb=4c80eeb2d07b5ca75fd399b51c939961fdff1670 diff --git a/src/core/coresessioneventprocessor.h b/src/core/coresessioneventprocessor.h index 6a163c6c..0fd0c9e2 100644 --- a/src/core/coresessioneventprocessor.h +++ b/src/core/coresessioneventprocessor.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -46,8 +46,10 @@ 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 processIrcEventAuthenticate(IrcEvent *event); /// SASL authentication + Q_INVOKABLE void processIrcEventCap(IrcEvent *event); /// CAP framework negotiation + Q_INVOKABLE void processIrcEventAccount(IrcEvent *event); /// account-notify received + Q_INVOKABLE void processIrcEventAway(IrcEvent *event); /// away-notify received Q_INVOKABLE void processIrcEventInvite(IrcEvent *event); Q_INVOKABLE void processIrcEventJoin(IrcEvent *event); Q_INVOKABLE void lateProcessIrcEventKick(IrcEvent *event); @@ -63,7 +65,7 @@ public: Q_INVOKABLE void processKeyEvent(KeyEvent *event); #endif - Q_INVOKABLE void processIrcEvent001(IrcEvent *event); // RPL_WELCOME + Q_INVOKABLE void processIrcEvent001(IrcEventNumeric *event); // RPL_WELCOME Q_INVOKABLE void processIrcEvent005(IrcEvent *event); // RPL_ISUPPORT Q_INVOKABLE void processIrcEvent221(IrcEvent *event); // RPL_UMODEIS Q_INVOKABLE void processIrcEvent250(IrcEvent *event); // RPL_STATSCONN @@ -97,6 +99,7 @@ public: Q_INVOKABLE void handleCtcpAction(CtcpEvent *event); Q_INVOKABLE void handleCtcpClientinfo(CtcpEvent *event); + Q_INVOKABLE void handleCtcpDcc(CtcpEvent *event); Q_INVOKABLE void handleCtcpPing(CtcpEvent *event); Q_INVOKABLE void handleCtcpTime(CtcpEvent *event); Q_INVOKABLE void handleCtcpVersion(CtcpEvent *event); @@ -151,6 +154,17 @@ private: // key: quit message // value: the corresponding netsplit object QHash > _netsplits; + + // IRCv3 capability negotiation + /** + * Sends the next capability from the queue. + * + * During nick registration if any capabilities remain queued, this will take the next and + * request it. When no capabilities remain, capability negotiation is ended. + * + * @param[in,out] A network currently undergoing capability negotiation + */ + void sendNextCap(Network *net); };