Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Private Attributes
SXLineDelCallback Class Reference
Inheritance diagram for SXLineDelCallback:
Inheritance graph
[legend]
Collaboration diagram for SXLineDelCallback:
Collaboration graph
[legend]

Public Member Functions

 SXLineDelCallback (XLineManager *x, Command *c, CommandSource &_source, const Anope::string &numlist)
 
 ~SXLineDelCallback ()
 
void HandleNumber (unsigned number) anope_override
 
- Public Member Functions inherited from NumberList
 NumberList (const Anope::string &list, bool descending)
 
virtual ~NumberList ()
 
void Process ()
 
virtual bool InvalidRange (const Anope::string &list)
 

Static Public Member Functions

static void DoDel (XLineManager *xlm, CommandSource &source, XLine *x)
 

Private Attributes

XLineManagerxlm
 
Commandcommand
 
CommandSourcesource
 
unsigned deleted
 

Detailed Description

Definition at line 14 of file os_sxline.cpp.

Constructor & Destructor Documentation

SXLineDelCallback::SXLineDelCallback ( XLineManager x,
Command c,
CommandSource _source,
const Anope::string numlist 
)
inline

Definition at line 21 of file os_sxline.cpp.

SXLineDelCallback::~SXLineDelCallback ( )
inline

Member Function Documentation

static void SXLineDelCallback::DoDel ( XLineManager xlm,
CommandSource source,
XLine x 
)
inlinestatic

Definition at line 51 of file os_sxline.cpp.

References XLineManager::DelXLine().

Referenced by HandleNumber(), and CommandOSSXLineBase::OnDel().

void SXLineDelCallback::HandleNumber ( unsigned  number)
inlinevirtual

Called with a number from the list

Parameters
numberThe number

Reimplemented from NumberList.

Definition at line 35 of file os_sxline.cpp.

References deleted, DoDel(), XLineManager::GetEntry(), LOG_ADMIN, and XLine::mask.

Field Documentation

Command* SXLineDelCallback::command
private

Definition at line 17 of file os_sxline.cpp.

unsigned SXLineDelCallback::deleted
private

Definition at line 19 of file os_sxline.cpp.

Referenced by HandleNumber().

CommandSource& SXLineDelCallback::source
private

Definition at line 18 of file os_sxline.cpp.

XLineManager* SXLineDelCallback::xlm
private

Definition at line 16 of file os_sxline.cpp.


The documentation for this class was generated from the following file: