KVIrc  4.9.2
DeveloperAPIs
KviRegisteredUserMask.h
Go to the documentation of this file.
1 #ifndef _KVIREGMASK_H_
2 #define _KVIREGMASK_H_
3 
4 //=============================================================================
5 //
6 // File : KviRegisteredUserMask.h
7 // Creation date : Wed Dec 29 2010 02:39:05 CEST by Elvio Basello
8 //
9 // This file is part of the KVIrc IRC client distribution
10 // Copyright (C) 2010 Elvio Basello (hellvis69 at gmail dot com)
11 //
12 // This program is FREE software. You can redistribute it and/or
13 // modify it under the terms of the GNU General Public License
14 // as published by the Free Software Foundation; either version 2
15 // of the License, or (at your option) any later version.
16 //
17 // This program is distributed in the HOPE that it will be USEFUL,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 // See the GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with this program. If not, write to the Free Software Foundation,
24 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 //
26 //=============================================================================
27 
28 // this file was originally part of KviRegisteredUserDataBase.h
29 
30 #include "kvi_settings.h"
31 #include "KviIrcMask.h"
32 #include "KviRegisteredUser.h"
33 
35 {
36 private:
37  KviRegisteredUser * m_pUser; // pointer, not owned!
38  KviIrcMask * m_pMask; // pointer, not owned!
40 
41 public:
44 
45 public:
46  int nonWildChars() { return m_iMaskNonWildChars; };
47  KviRegisteredUser * user() { return m_pUser; };
48  KviIrcMask * mask() { return m_pMask; };
49 };
50 
52 
53 #endif // _KVIREGMASK_H_
Irc user mask abstraction.
KviRegisteredUser * user()
Definition: KviRegisteredUserMask.h:47
Definition: KviRegisteredUser.h:35
~KviRegisteredUserMask()
Definition: KviRegisteredUserMask.h:43
KviIrcMask * mask()
Definition: KviRegisteredUserMask.h:48
Irc user mask handling.
Definition: KviIrcMask.h:45
Definition: KviRegisteredUserMask.h:34
A template double linked list of pointers.
Definition: KviPointerList.h:55
KviIrcMask * m_pMask
Definition: KviRegisteredUserMask.h:38
int m_iMaskNonWildChars
Definition: KviRegisteredUserMask.h:39
This file contains compile time settings.
KviRegisteredUser * m_pUser
Definition: KviRegisteredUserMask.h:37
KviPointerList< KviRegisteredUserMask > KviRegisteredUserMaskList
Definition: KviRegisteredUserMask.h:51
#define KVILIB_API
Definition: kvi_settings.h:125
int nonWildChars()
Definition: KviRegisteredUserMask.h:46