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

Public Member Functions

 AkillDelCallback (CommandSource &_source, const Anope::string &numlist, Command *c)
 
 ~AkillDelCallback ()
 
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 (CommandSource &source, XLine *x)
 

Private Attributes

CommandSourcesource
 
unsigned deleted
 
Commandcmd
 

Detailed Description

Definition at line 16 of file os_akill.cpp.

Constructor & Destructor Documentation

AkillDelCallback::AkillDelCallback ( CommandSource _source,
const Anope::string numlist,
Command c 
)
inline

Definition at line 22 of file os_akill.cpp.

AkillDelCallback::~AkillDelCallback ( )
inline

Definition at line 26 of file os_akill.cpp.

References _, and CommandSource::Reply().

Member Function Documentation

static void AkillDelCallback::DoDel ( CommandSource source,
XLine x 
)
inlinestatic

Definition at line 52 of file os_akill.cpp.

References akills.

Referenced by CommandOSAKill::DoDel(), and HandleNumber().

void AkillDelCallback::HandleNumber ( unsigned  number)
inlinevirtual

Called with a number from the list

Parameters
numberThe number

Reimplemented from NumberList.

Definition at line 36 of file os_akill.cpp.

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

Field Documentation

Command* AkillDelCallback::cmd
private

Definition at line 20 of file os_akill.cpp.

unsigned AkillDelCallback::deleted
private

Definition at line 19 of file os_akill.cpp.

Referenced by HandleNumber().

CommandSource& AkillDelCallback::source
private

Definition at line 18 of file os_akill.cpp.


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