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

Public Member Functions

 MemoDelCallback (CommandSource &_source, ChannelInfo *_ci, MemoInfo *_mi, const Anope::string &list)
 
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)
 

Private Attributes

CommandSourcesource
 
ChannelInfoci
 
MemoInfomi
 

Detailed Description

Definition at line 14 of file ms_del.cpp.

Constructor & Destructor Documentation

MemoDelCallback::MemoDelCallback ( CommandSource _source,
ChannelInfo _ci,
MemoInfo _mi,
const Anope::string list 
)
inline

Definition at line 20 of file ms_del.cpp.

Member Function Documentation

void MemoDelCallback::HandleNumber ( unsigned  number)
inlinevirtual

Called with a number from the list

Parameters
numberThe number

Reimplemented from NumberList.

Definition at line 24 of file ms_del.cpp.

References _, MemoInfo::Del(), NickCore::display, FOREACH_MOD, MemoInfo::GetMemo(), MemoInfo::memos, ChannelInfo::name, CommandSource::nc, and CommandSource::Reply().

Field Documentation

ChannelInfo* MemoDelCallback::ci
private

Definition at line 17 of file ms_del.cpp.

MemoInfo* MemoDelCallback::mi
private

Definition at line 18 of file ms_del.cpp.

CommandSource& MemoDelCallback::source
private

Definition at line 16 of file ms_del.cpp.


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