KVIrc  4.9.2
DeveloperAPIs
KviIrcConnectionServerInfo.h
Go to the documentation of this file.
1 #ifndef _KVI_IRCCONNECTIONSERVERINFO_H_
2 #define _KVI_IRCCONNECTIONSERVERINFO_H_
3 //=============================================================================
4 //
5 // File : KviIrcConnectionServerInfo.h
6 // Creation date : Tue 22 Jun 2004 03:57:32 by Szymon Stefanek
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 2004-2010 Szymon Stefanek <pragma at kvirc dot net>
10 //
11 // This program is FREE software. You can redistribute it and/or
12 // modify it under the terms of the GNU General Public License
13 // as published by the Free Software Foundation; either version 2
14 // of the License, or (at your option) any later version.
15 //
16 // This program is distributed in the HOPE that it will be USEFUL,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 // See the GNU General Public License for more details.
20 //
21 // You should have received a copy of the GNU General Public License
22 // along with this program. If not, write to the Free Software Foundation,
23 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 //
25 //=============================================================================
26 
27 #include "kvi_settings.h"
28 #include "KviQString.h"
29 #include "kvi_inttypes.h"
30 
31 #include <QStringList>
32 
34 
36 {
37  // ircnet
38 protected:
41 
42 public:
44  virtual ~KviBasicIrcServerInfo();
45 
46 public:
47  virtual const QString & getChannelModeDescription(char mode);
48  virtual const QString & getUserModeDescription(QChar mode);
49  virtual QChar getUserModeRequirement(QChar mode);
50  virtual char getRegisterModeChar() { return 0; };
51  virtual const char * getSoftware() { return "Ircd"; };
52  virtual bool getNeedsOpToListModeseI() { return false; };
53  virtual bool getNeedsOperToSetS() { return false; };
54 };
55 
57 // Hybrid + forks
59 
61 {
62  // This is a major IRCd that most modern forks are based off of
63 public:
65  : KviBasicIrcServerInfo(pParent, version) { ; };
66  virtual const QString & getChannelModeDescription(char mode);
67  virtual const QString & getUserModeDescription(QChar mode);
68  virtual QChar getUserModeRequirement(QChar mode);
69  virtual char getRegisterModeChar() { return 'r'; };
70  virtual const char * getSoftware() { return "Hybrid"; };
71 };
72 
74 {
75  // efnet
76 public:
78  : KviHybridServerInfo(pParent, version) { ; };
79  virtual const QString & getChannelModeDescription(char mode);
80  virtual const QString & getUserModeDescription(QChar mode);
81  virtual QChar getUserModeRequirement(QChar mode);
82  virtual char getRegisterModeChar() { return 0; };
83  virtual const char * getSoftware() { return "Ircd-ratbox"; };
84  virtual bool getNeedsOpToListModeseI() { return true; };
85 };
86 
88 {
89 public:
91  : KviIrcdRatboxIrcServerInfo(pParent, version) { ; };
92  virtual const QString & getChannelModeDescription(char mode);
93  virtual const QString & getUserModeDescription(QChar mode);
94  virtual QChar getUserModeRequirement(QChar mode);
95  virtual const char * getSoftware() { return "Charybdis"; };
96  virtual bool getNeedsOperToSetS() { return true; };
97 };
98 
100 {
101  // freenode
102 public:
104  : KviCharybdisServerInfo(pParent, version) { ; };
105  virtual const QString & getUserModeDescription(QChar mode);
106  virtual QChar getUserModeRequirement(QChar mode);
107  virtual char getRegisterModeChar() { return 0; };
108  virtual const char * getSoftware() { return "Ircd-seven"; };
109 };
110 
112 {
113  // rizon; note: plexus is an extension to hybrid
114 public:
116  : KviHybridServerInfo(pParent, version) { ; };
117  virtual const QString & getChannelModeDescription(char mode);
118  virtual const QString & getUserModeDescription(QChar mode);
119  virtual QChar getUserModeRequirement(QChar mode);
120  virtual const char * getSoftware() { return "Plexus"; };
121  virtual bool getNeedsOpToListModeseI() { return true; };
122 };
123 
125 {
126  // oftc; note: hybrid+oftc is an extension to hybrid
127 public:
129  : KviHybridServerInfo(pParent, version) { ; };
130  virtual const QString & getChannelModeDescription(char mode);
131  virtual const QString & getUserModeDescription(QChar mode);
132  virtual QChar getUserModeRequirement(QChar mode);
133  virtual char getRegisterModeChar() { return 'R'; };
134  virtual const char * getSoftware() { return "Hybrid+Oftc"; };
135  virtual bool getNeedsOpToListModeseI() { return true; };
136 };
137 
139 // P10
141 
143 {
144  // undernet
145 public:
147  : KviBasicIrcServerInfo(pParent, version) { ; };
148  virtual const QString & getChannelModeDescription(char mode);
149  virtual const QString & getUserModeDescription(QChar mode);
150  virtual QChar getUserModeRequirement(QChar mode);
151  virtual char getRegisterModeChar() { return 0; };
152  virtual const char * getSoftware() { return "Ircu"; };
153  virtual bool getNeedsOpToListModeseI() { return true; };
154  virtual bool getNeedsOperToSetS() { return true; };
155 };
156 
158 {
159  // quakenet; note: snird is an extension to ircu
160 public:
162  : KviIrcuIrcServerInfo(pParent, version) { ; };
163  virtual const QString & getChannelModeDescription(char mode);
164  virtual const QString & getUserModeDescription(QChar mode);
165  virtual QChar getUserModeRequirement(QChar mode);
166  virtual const char * getSoftware() { return "Snircd"; };
167  virtual bool getNeedsOperToSetS() { return true; };
168 };
169 
171 {
172  // darenet; note: u2+ircd-darenet is an extension to ircu
173 public:
175  : KviIrcuIrcServerInfo(pParent, version) { ; };
176  virtual const QString & getChannelModeDescription(char mode);
177  virtual const QString & getUserModeDescription(QChar mode);
178  virtual QChar getUserModeRequirement(QChar mode);
179  virtual char getRegisterModeChar() { return 'r'; };
180  virtual const char * getSoftware() { return "Ircu+Darenet"; };
181  virtual bool getNeedsOpToListModeseI() { return false; };
182 };
183 
185 // Unreal -> Unreal 3.2 -> Unreal 4.0
187 
189 {
190 public:
192  : KviBasicIrcServerInfo(pParent, version) { ; };
193  virtual const QString & getChannelModeDescription(char mode);
194  virtual char getRegisterModeChar() { return 'r'; };
195  virtual const char * getSoftware() { return "Unreal"; };
196  virtual bool getNeedsOpToListModeseI() { return false; };
197  virtual bool getNeedsOperToSetS() { return true; };
198 };
199 
201 {
202  // This is a continuation on to Unreal, so use its predecessor
203  // as a base class.
204 public:
206  : KviUnrealIrcServerInfo(pParent, version) { ; };
207  virtual const QString & getChannelModeDescription(char mode);
208  virtual const QString & getUserModeDescription(QChar mode);
209  virtual QChar getUserModeRequirement(QChar mode);
210  virtual const char * getSoftware() { return "Unreal32"; };
211 };
212 
214 {
215 public:
217  : KviUnreal32IrcServerInfo(pParent, version) { ; };
218  virtual const QString & getChannelModeDescription(char mode);
219  virtual const char * getSoftware() { return "Unreal40"; };
220 };
221 
223 {
224  // abjects
225 public:
227  : KviBasicIrcServerInfo(pParent, version) { ; };
228  virtual const QString & getChannelModeDescription(char mode);
229  virtual const QString & getUserModeDescription(QChar mode);
230  virtual QChar getUserModeRequirement(QChar mode);
231  virtual char getRegisterModeChar() { return 'r'; };
232  virtual const char * getSoftware() { return "Criten"; };
233  virtual bool getNeedsOpToListModeseI() { return true; };
234 };
235 
237 {
238  // criten
239 public:
241  : KviCritenIrcServerInfo(pParent, version) { ; };
242  virtual const char * getSoftware() { return "Nemesis"; };
243 };
244 
246 {
247 public:
249  : KviUnreal32IrcServerInfo(pParent, version) { ; };
250  virtual const char * getSoftware() { return "Nemesis2.0"; };
251  virtual bool getNeedsOperToSetS() { return false; };
252 };
253 
255 {
256  // dalnet, azzurranet
257 public:
259  : KviBasicIrcServerInfo(pParent, version) { ; };
260  virtual const QString & getChannelModeDescription(char mode);
261  virtual const QString & getUserModeDescription(QChar mode);
262  virtual QChar getUserModeRequirement(QChar mode);
263  virtual char getRegisterModeChar() { return 'r'; };
264  virtual const char * getSoftware() { return "Bahamut"; };
265  virtual bool getNeedsOpToListModeseI() { return false; };
266 };
267 
269 {
270  // legacy freenode : no longer maintained
271 public:
273  : KviBasicIrcServerInfo(pParent, version) { ; };
274  virtual const QString & getUserModeDescription(QChar mode);
275  virtual QChar getUserModeRequirement(QChar mode);
276  virtual char getRegisterModeChar() { return 'e'; };
277  virtual const char * getSoftware() { return "Hyperion"; };
278  virtual bool getNeedsOpToListModeseI() { return true; };
279 };
280 
282 {
283  // chatspike
284 public:
286  : KviBasicIrcServerInfo(pParent, version) { ; };
287  virtual const QString & getChannelModeDescription(char mode);
288  virtual const QString & getUserModeDescription(QChar mode);
289  virtual QChar getUserModeRequirement(QChar mode);
290  virtual char getRegisterModeChar() { return 'r'; };
291  virtual const char * getSoftware() { return "InspIRCd"; };
292  virtual bool getNeedsOpToListModeseI() { return true; };
293  virtual bool getNeedsOperToSetS() { return true; };
294 };
295 
297 {
298  friend class KviConsoleWindow; // for now
299  friend class KviIrcServerParser;
300  friend class KviIrcConnection;
301 
302 protected:
305 
306 private:
308  QString m_szNetworkName; // the most actual network name (may be the one we specify or the one that the server reports)
309  QString m_szName; // the most actual server name (may be the one we specify or the one that the server wants to be known as)
310  QString m_szSupportedUserModes; // the supported user modes
311  QString m_szSupportedChannelModes; // the supported channel modes (all of them)
312  QString m_szSupportedModePrefixes; // the actually used mode prefixes @+
313  kvi_u32_t * m_pModePrefixTable; // the mode prefixes above in a table
314  unsigned int m_uPrefixes;
315  QString m_szSupportedModeFlags; // the actually used mode flags ov
316  QString m_szSupportedChannelTypes; // the supported channel types
317  bool m_bSupportsWatchList; // supports the watch list ?
318  bool m_bSupportsCodePages; // supports the /CODEPAGE command ?
321  // Mode that adds or removes a nick or address to a list. Always has a parameter (eg: "b" as ban)
322  QString m_szListModes;
323  // Mode that changes a setting and always has a parameter (eg: "k" as channel key)
325  // Mode that changes a setting and only has a parameter when set (eg: "l" as channel limit)
327  // Mode that changes a setting and never has a parameter (eg: "m" as channel moderated)
328  QString m_szPlainModes;
330  QStringList m_lSupportedCaps;
331  bool m_bSupportsWhox; // supports WHOX
332 public:
333  char registerModeChar() { return m_pServInfo ? m_pServInfo->getRegisterModeChar() : 0; };
334  const char * software() { return m_pServInfo ? m_pServInfo->getSoftware() : 0; };
335  bool getNeedsOpToListModeseI() { return m_pServInfo ? m_pServInfo->getNeedsOpToListModeseI() : false; };
336  bool getNeedsOperToSetS() { return m_pServInfo ? m_pServInfo->getNeedsOperToSetS() : false; };
337  const QString & name() { return m_szName; };
338  const QString & networkName() { return m_szNetworkName; };
339  const QString & supportedUserModes() { return m_szSupportedUserModes; };
340  const QString & supportedChannelModes() { return m_szSupportedChannelModes; };
341  const QString & supportedChannelTypes() { return m_szSupportedChannelTypes; };
342  const QString & supportedModePrefixes() { return m_szSupportedModePrefixes; };
343  const QString & supportedModeFlags() { return m_szSupportedModeFlags; };
344  const QString & supportedListModes() { return m_szListModes; };
345  const QString & supportedParameterModes() { return m_szParameterModes; };
346  const QString & supportedParameterWhenSetModes() { return m_szParameterWhenSetModes; };
347  const QString & supportedPlainModes() { return m_szPlainModes; };
348  bool supportsCap() { return m_bSupportsCap; };
349  const QStringList & supportedCaps() { return m_lSupportedCaps; };
350  bool supportsWatchList() { return m_bSupportsWatchList; };
351  bool supportsCodePages() { return m_bSupportsCodePages; };
352  bool supportsWhox() { return m_bSupportsWhox; };
353 
354  int maxTopicLen() { return m_iMaxTopicLen; };
355  int maxModeChanges() { return m_iMaxModeChanges; };
356 
357  void setServerVersion(const QString & version);
358 
359  const QString & getChannelModeDescription(char mode) { return m_pServInfo->getChannelModeDescription(mode); };
360  const QString & getUserModeDescription(QChar mode) { return m_pServInfo->getUserModeDescription(mode); };
361 
362  // Returning ! means the mode can never be set by the user. Returning QChar::Null means the mode is free to set.
363  // Returning a QChar means the mode has another mode dependency (the QChar we're returning)
364  QChar getUserModeRequirement(QChar mode) { return m_pServInfo ? m_pServInfo->getUserModeRequirement(mode) : QChar::Null; };
365 
366  bool isSupportedChannelType(QChar c);
367  bool isSupportedModePrefix(QChar c);
368  bool isSupportedModeFlag(QChar c);
369  QChar modePrefixChar(kvi_u32_t flag);
370  QChar modeFlagChar(kvi_u32_t flag);
371  kvi_u32_t modeFlagFromPrefixChar(QChar c);
372  kvi_u32_t modeFlagFromModeChar(QChar c);
373 
374 protected:
375  void setNetworkName(const QString & szName) { m_szNetworkName = szName; };
376  void setName(const QString & szName) { m_szName = szName; };
377  void setSupportedUserModes(const QString & szSupportedUserModes) { m_szSupportedUserModes = szSupportedUserModes; };
378  void setSupportedChannelModes(const QString & szSupportedChannelModes);
379  void setSupportedModePrefixes(const QString & szSupportedModePrefixes, const QString & szSupportedModeFlags);
380  void setSupportedChannelTypes(const QString & szSupportedChannelTypes) { m_szSupportedChannelTypes = szSupportedChannelTypes; };
381  void setSupportsWatchList(bool bSupportsWatchList) { m_bSupportsWatchList = bSupportsWatchList; };
382  void setSupportsCodePages(bool bSupportsCodePages) { m_bSupportsCodePages = bSupportsCodePages; };
383  void addSupportedCaps(const QString & szCapList);
384  void setMaxTopicLen(int iTopLen) { m_iMaxTopicLen = iTopLen; };
385  void setMaxModeChanges(int iModes) { m_iMaxModeChanges = iModes; };
386  void setSupportsWhox(bool bSupportsWhox) { m_bSupportsWhox = bSupportsWhox; };
387 private:
388  void buildModePrefixTable();
389 };
390 
391 #endif
const QString & supportedChannelTypes()
Definition: KviIrcConnectionServerInfo.h:341
QString m_szSupportedModeFlags
Definition: KviIrcConnectionServerInfo.h:315
virtual bool getNeedsOperToSetS()
Definition: KviIrcConnectionServerInfo.h:197
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:263
KviNemesisIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:240
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:84
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:291
KviPlexusIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:115
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:135
Definition: KviIrcConnectionServerInfo.h:60
virtual bool getNeedsOperToSetS()
Definition: KviIrcConnectionServerInfo.h:167
virtual const QString & getChannelModeDescription(char mode)
Definition: KviIrcConnectionServerInfo.cpp:1917
void setNetworkName(const QString &szName)
Definition: KviIrcConnectionServerInfo.h:375
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:265
bool supportsCodePages()
Definition: KviIrcConnectionServerInfo.h:351
Definition: KviConsoleWindow.h:75
Definition: KviIrcConnectionServerInfo.h:200
QString m_szParameterWhenSetModes
Definition: KviIrcConnectionServerInfo.h:326
Definition: KviIrcConnectionServerInfo.h:222
#define KVIRC_API
Definition: kvi_settings.h:128
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
KviBahamutIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:258
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:70
virtual bool getNeedsOperToSetS()
Definition: KviIrcConnectionServerInfo.h:154
QString m_szSupportedChannelModes
Definition: KviIrcConnectionServerInfo.h:311
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:120
KviHyperionIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:272
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:233
Definition: KviIrcConnectionServerInfo.h:254
QString m_szParameterModes
Definition: KviIrcConnectionServerInfo.h:324
const QString & networkName()
Definition: KviIrcConnectionServerInfo.h:338
const QString & supportedChannelModes()
Definition: KviIrcConnectionServerInfo.h:340
QString m_szListModes
Definition: KviIrcConnectionServerInfo.h:322
An abstraction of a connection to an IRC server.
Definition: KviIrcConnection.h:95
char registerModeChar()
Definition: KviIrcConnectionServerInfo.h:333
const QString & supportedParameterWhenSetModes()
Definition: KviIrcConnectionServerInfo.h:346
int m_iMaxModeChanges
Definition: KviIrcConnectionServerInfo.h:320
KviOftcIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:128
int maxModeChanges()
Definition: KviIrcConnectionServerInfo.h:355
virtual QChar getUserModeRequirement(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:1283
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:180
Definition: KviIrcConnectionServerInfo.h:188
virtual bool getNeedsOperToSetS()
Definition: KviIrcConnectionServerInfo.h:96
KviUnreal40IrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:216
Definition: KviIrcConnectionServerInfo.h:87
bool m_bSupportsCap
Definition: KviIrcConnectionServerInfo.h:329
void setSupportsWhox(bool bSupportsWhox)
Definition: KviIrcConnectionServerInfo.h:386
void setMaxModeChanges(int iModes)
Definition: KviIrcConnectionServerInfo.h:385
KviBasicIrcServerInfo * m_pServInfo
Definition: KviIrcConnectionServerInfo.h:307
bool supportsCap()
Definition: KviIrcConnectionServerInfo.h:348
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:69
KviIrcuIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:146
Definition: KviIrcConnectionServerInfo.h:236
bool m_bSupportsWatchList
Definition: KviIrcConnectionServerInfo.h:317
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:292
virtual bool getNeedsOperToSetS()
Definition: KviIrcConnectionServerInfo.h:53
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:166
virtual const QString & getUserModeDescription(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:565
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:107
void setSupportsWatchList(bool bSupportsWatchList)
Definition: KviIrcConnectionServerInfo.h:381
Definition: KviIrcConnectionServerInfo.h:124
bool supportsWatchList()
Definition: KviIrcConnectionServerInfo.h:350
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:82
void setSupportedChannelTypes(const QString &szSupportedChannelTypes)
Definition: KviIrcConnectionServerInfo.h:380
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:179
QString m_szSupportedChannelTypes
Definition: KviIrcConnectionServerInfo.h:316
Definition: KviIrcConnectionServerInfo.h:245
QChar getUserModeRequirement(QChar mode)
Definition: KviIrcConnectionServerInfo.h:364
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:153
const QString & name()
Definition: KviIrcConnectionServerInfo.h:337
virtual QChar getUserModeRequirement(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:1086
kvi_u32_t * m_pModePrefixTable
Definition: KviIrcConnectionServerInfo.h:313
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:277
const QString & supportedPlainModes()
Definition: KviIrcConnectionServerInfo.h:347
const QString & getUserModeDescription(QChar mode)
Definition: KviIrcConnectionServerInfo.h:360
KviCharybdisServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:90
KviUnreal32IrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:205
Definition: KviIrcConnectionServerInfo.h:281
bool supportsWhox()
Definition: KviIrcConnectionServerInfo.h:352
const char * software()
Definition: KviIrcConnectionServerInfo.h:334
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:83
virtual QChar getUserModeRequirement(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:1173
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:196
const QString Empty
A global empty string (note that this is ALSO NULL under Qt 3.x)
Definition: KviQString.cpp:49
const QString & supportedModeFlags()
Definition: KviIrcConnectionServerInfo.h:343
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:51
virtual const QString & getUserModeDescription(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:467
Definition: KviIrcConnectionServerInfo.h:35
virtual const QString & getUserModeDescription(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:305
KviDarenetIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:174
int maxTopicLen()
Definition: KviIrcConnectionServerInfo.h:354
QString m_szSupportedModePrefixes
Definition: KviIrcConnectionServerInfo.h:312
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:278
void setMaxTopicLen(int iTopLen)
Definition: KviIrcConnectionServerInfo.h:384
Definition: KviIrcConnectionServerInfo.h:296
void setSupportsCodePages(bool bSupportsCodePages)
Definition: KviIrcConnectionServerInfo.h:382
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:152
KviInspIRCdIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:285
virtual const QString & getChannelModeDescription(char mode)
Definition: KviIrcConnectionServerInfo.cpp:1619
Definition: KviIrcConnectionServerInfo.h:213
QString m_szServerVersion
Definition: KviIrcConnectionServerInfo.h:39
KviIrcdRatboxIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:77
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:108
bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:335
KviNemesis20IrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:248
Definition: KviIrcConnectionServerInfo.h:157
Definition: KviIrcConnectionServerInfo.h:99
QString m_szPlainModes
Definition: KviIrcConnectionServerInfo.h:328
void setSupportedUserModes(const QString &szSupportedUserModes)
Definition: KviIrcConnectionServerInfo.h:377
KviIrcdSevenIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:103
virtual bool getNeedsOperToSetS()
Definition: KviIrcConnectionServerInfo.h:293
KviUnrealIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:191
virtual const QString & getChannelModeDescription(char mode)
Definition: KviIrcConnectionServerInfo.cpp:1852
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:250
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:242
QString m_szSupportedUserModes
Definition: KviIrcConnectionServerInfo.h:310
KviSnircdIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:161
Definition: KviIrcConnectionServerInfo.h:170
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:264
bool m_bSupportsCodePages
Definition: KviIrcConnectionServerInfo.h:318
bool m_bSupportsWhox
Definition: KviIrcConnectionServerInfo.h:331
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:133
KviIrcConnectionServerInfo * m_pParent
Definition: KviIrcConnectionServerInfo.h:40
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:195
bool getNeedsOperToSetS()
Definition: KviIrcConnectionServerInfo.h:336
virtual bool getNeedsOperToSetS()
Definition: KviIrcConnectionServerInfo.h:251
const QStringList & supportedCaps()
Definition: KviIrcConnectionServerInfo.h:349
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:219
KviCritenIrcServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:226
virtual const QString & getChannelModeDescription(char mode)
Definition: KviIrcConnectionServerInfo.cpp:1765
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:151
QStringList m_lSupportedCaps
Definition: KviIrcConnectionServerInfo.h:330
QString version()
Definition: KviRuntimeInfo.cpp:671
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:194
virtual const QString & getChannelModeDescription(char mode)
Definition: KviIrcConnectionServerInfo.cpp:1654
virtual const QString & getUserModeDescription(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:355
Definition: KviIrcConnectionServerInfo.h:268
Definition: KviIrcConnectionServerInfo.h:142
Definition: KviIrcServerParser.h:115
virtual QChar getUserModeRequirement(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:1147
const QString & supportedModePrefixes()
Definition: KviIrcConnectionServerInfo.h:342
void setName(const QString &szName)
Definition: KviIrcConnectionServerInfo.h:376
const QString & supportedListModes()
Definition: KviIrcConnectionServerInfo.h:344
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:276
const QString & getChannelModeDescription(char mode)
Definition: KviIrcConnectionServerInfo.h:359
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:232
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:134
virtual const QString & getUserModeDescription(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:423
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:231
QString m_szNetworkName
Definition: KviIrcConnectionServerInfo.h:308
const QString & supportedParameterModes()
Definition: KviIrcConnectionServerInfo.h:345
This file contains compile time settings.
Definition: KviIrcConnectionServerInfo.h:111
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:210
virtual const QString & getChannelModeDescription(char mode)
Definition: KviIrcConnectionServerInfo.cpp:1560
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:52
virtual const char * getSoftware()
Definition: KviIrcConnectionServerInfo.h:95
int m_iMaxTopicLen
Definition: KviIrcConnectionServerInfo.h:319
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:290
virtual QChar getUserModeRequirement(QChar mode)
Definition: KviIrcConnectionServerInfo.cpp:1115
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:121
Helper functions for the QString class.
QString m_szName
Definition: KviIrcConnectionServerInfo.h:309
const QString & supportedUserModes()
Definition: KviIrcConnectionServerInfo.h:339
virtual char getRegisterModeChar()
Definition: KviIrcConnectionServerInfo.h:50
KviHybridServerInfo(KviIrcConnectionServerInfo *pParent=0, const QString &version=KviQString::Empty)
Definition: KviIrcConnectionServerInfo.h:64
unsigned int m_uPrefixes
Definition: KviIrcConnectionServerInfo.h:314
Definition: KviIrcConnectionServerInfo.h:73
virtual bool getNeedsOpToListModeseI()
Definition: KviIrcConnectionServerInfo.h:181