author | skyhusker <skyhusker> | 2005-02-03 21:47:50 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-02-03 21:47:50 (UTC) |
commit | 8aaae9e3eca7853e9c693d2401f721d75209acf7 (patch) (unidiff) | |
tree | 6f700d154fac8510b322242496604d0ad7589377 /noncore/net/opieirc/ircsession.h | |
parent | 875b3b63624308f4e50f82e17db27edeb9609d6c (diff) | |
download | opie-8aaae9e3eca7853e9c693d2401f721d75209acf7.zip opie-8aaae9e3eca7853e9c693d2401f721d75209acf7.tar.gz opie-8aaae9e3eca7853e9c693d2401f721d75209acf7.tar.bz2 |
Added DCC receive support
Diffstat (limited to 'noncore/net/opieirc/ircsession.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircsession.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/opieirc/ircsession.h b/noncore/net/opieirc/ircsession.h index 7c91893..23a2540 100644 --- a/noncore/net/opieirc/ircsession.h +++ b/noncore/net/opieirc/ircsession.h | |||
@@ -21,34 +21,35 @@ | |||
21 | #ifndef __IRCSESSION_H | 21 | #ifndef __IRCSESSION_H |
22 | #define __IRCSESSION_H | 22 | #define __IRCSESSION_H |
23 | 23 | ||
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | #include <qlist.h> | 25 | #include <qlist.h> |
26 | #include "ircserver.h" | 26 | #include "ircserver.h" |
27 | #include "ircconnection.h" | 27 | #include "ircconnection.h" |
28 | #include "ircmessage.h" | 28 | #include "ircmessage.h" |
29 | #include "ircchannel.h" | 29 | #include "ircchannel.h" |
30 | #include "ircoutput.h" | 30 | #include "ircoutput.h" |
31 | 31 | ||
32 | class IRCMessageParser; | 32 | class IRCMessageParser; |
33 | class IRCServerTab; | ||
33 | 34 | ||
34 | /* The IRCSession stores all information relating to the connection | 35 | /* The IRCSession stores all information relating to the connection |
35 | to one IRC server. IRCSession makes it possible to run multiple | 36 | to one IRC server. IRCSession makes it possible to run multiple |
36 | IRC server connections from within the same program */ | 37 | IRC server connections from within the same program */ |
37 | 38 | ||
38 | class IRCSession : public QObject { | 39 | class IRCSession : public QObject { |
39 | friend class IRCMessageParser; | 40 | friend class IRCMessageParser; |
40 | Q_OBJECT | 41 | Q_OBJECT |
41 | public: | 42 | public: |
42 | IRCSession(QWidget *parent, IRCServer *server); | 43 | IRCSession(QObject *parent, IRCServer *server); |
43 | ~IRCSession(); | 44 | ~IRCSession(); |
44 | 45 | ||
45 | void join(QString channel); | 46 | void join(QString channel); |
46 | void quit(QString message); | 47 | void quit(QString message); |
47 | void quit(); | 48 | void quit(); |
48 | void raw(QString message); | 49 | void raw(QString message); |
49 | void topic(IRCChannel *channel, QString message); | 50 | void topic(IRCChannel *channel, QString message); |
50 | void mode(IRCChannel *channel, QString message); | 51 | void mode(IRCChannel *channel, QString message); |
51 | void mode(IRCPerson *person, QString message); | 52 | void mode(IRCPerson *person, QString message); |
52 | void mode(QString message); | 53 | void mode(QString message); |
53 | void part(IRCChannel *channel); | 54 | void part(IRCChannel *channel); |
54 | void op(IRCChannel *channel, IRCPerson *person); | 55 | void op(IRCChannel *channel, IRCPerson *person); |
@@ -81,16 +82,15 @@ protected slots: | |||
81 | void handleMessage(IRCMessage *message); | 82 | void handleMessage(IRCMessage *message); |
82 | signals: | 83 | signals: |
83 | void outputReady(IRCOutput output); | 84 | void outputReady(IRCOutput output); |
84 | void updateChannels(); | 85 | void updateChannels(); |
85 | protected: | 86 | protected: |
86 | IRCServer *m_server; | 87 | IRCServer *m_server; |
87 | IRCConnection *m_connection; | 88 | IRCConnection *m_connection; |
88 | IRCMessageParser *m_parser; | 89 | IRCMessageParser *m_parser; |
89 | QList<IRCChannel> m_channels; | 90 | QList<IRCChannel> m_channels; |
90 | QList<IRCPerson> m_people; | 91 | QList<IRCPerson> m_people; |
91 | QString m_validUsermodes; | 92 | QString m_validUsermodes; |
92 | QString m_validChannelmodes; | 93 | QString m_validChannelmodes; |
93 | QWidget *m_parent; | ||
94 | }; | 94 | }; |
95 | 95 | ||
96 | #endif /* __IRCSESSION_H */ | 96 | #endif /* __IRCSESSION_H */ |