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::SXLineDelCallback ( XLineManager x,
Command c,
CommandSource _source,
const Anope::string numlist 
)
inline

Definition at line 21 of file os_sxline.cpp.

◆ ~SXLineDelCallback()

SXLineDelCallback::~SXLineDelCallback ( )
inline

Member Function Documentation

◆ DoDel()

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().

◆ HandleNumber()

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.

Referenced by CommandOSSXLineBase::ProcessList().

Field Documentation

◆ command

Command* SXLineDelCallback::command
private

Definition at line 17 of file os_sxline.cpp.

◆ deleted

unsigned SXLineDelCallback::deleted
private

Definition at line 19 of file os_sxline.cpp.

Referenced by HandleNumber().

◆ source

CommandSource& SXLineDelCallback::source
private

◆ xlm

XLineManager* SXLineDelCallback::xlm
private

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