summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircmessage.h
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircmessage.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircmessage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircmessage.h b/noncore/net/opieirc/ircmessage.h
index 10ba450..40bb210 100644
--- a/noncore/net/opieirc/ircmessage.h
+++ b/noncore/net/opieirc/ircmessage.h
@@ -33,16 +33,18 @@ public:
33 IRCMessage(QString line); 33 IRCMessage(QString line);
34 34
35 /* Return the IRC message prefix (usually sender etc) */ 35 /* Return the IRC message prefix (usually sender etc) */
36 QString prefix(); 36 QString prefix();
37 /* Check if this IRCMessage's command is literal or numerical */ 37 /* Check if this IRCMessage's command is literal or numerical */
38 bool isNumerical(); 38 bool isNumerical();
39 /* CHeck if this IRCMessage is a CTCP message */ 39 /* CHeck if this IRCMessage is a CTCP message */
40 bool isCTCP(); 40 bool isCTCP();
41 bool isCTCPRequest();
42 bool isCTCPReply();
41 /* Return the IRC command (literal commands) */ 43 /* Return the IRC command (literal commands) */
42 QString command(); 44 QString command();
43 /* Return the CTCP command */ 45 /* Return the CTCP command */
44 QString ctcpCommand(); 46 QString ctcpCommand();
45 /* Return the CTCP destination if applicable (channel/person) */ 47 /* Return the CTCP destination if applicable (channel/person) */
46 QString ctcpDestination(); 48 QString ctcpDestination();
47 /* Return the IRC command (numerical commands) */ 49 /* Return the IRC command (numerical commands) */
48 unsigned short commandNumber(); 50 unsigned short commandNumber();
@@ -60,11 +62,12 @@ protected:
60 QString m_ctcpCommand; 62 QString m_ctcpCommand;
61 QString m_ctcpDestination; 63 QString m_ctcpDestination;
62 unsigned short m_commandNumber; 64 unsigned short m_commandNumber;
63 QString m_allParameters; 65 QString m_allParameters;
64 QString m_trailing; 66 QString m_trailing;
65 QStringList m_parameters; 67 QStringList m_parameters;
66 bool m_isNumerical; 68 bool m_isNumerical;
67 bool m_ctcp; 69 bool m_ctcp;
70 bool m_ctcpRequest;
68}; 71};
69 72
70#endif 73#endif