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

Public Member Functions

 MemoListCallback (CommandSource &_source, MemoInfo *_mi, const ChannelInfo *_ci, const Anope::string &numlist)
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 DoRead (CommandSource &source, MemoInfo *mi, const ChannelInfo *ci, unsigned index)

Private Attributes

const ChannelInfoci

Detailed Description

Definition at line 50 of file ms_read.cpp.

Constructor & Destructor Documentation

◆ MemoListCallback()

MemoListCallback::MemoListCallback ( CommandSource _source,
MemoInfo _mi,
const ChannelInfo _ci,
const Anope::string numlist 

Definition at line 56 of file ms_read.cpp.

Member Function Documentation

◆ DoRead()

static void MemoListCallback::DoRead ( CommandSource source,
MemoInfo mi,
const ChannelInfo ci,
unsigned  index 

◆ HandleNumber()

void MemoListCallback::HandleNumber ( unsigned  number)

Called with a number from the list

numberThe number

Reimplemented from NumberList.

Definition at line 60 of file ms_read.cpp.

References DoRead(), and MemoInfo::memos.

Field Documentation

◆ ci

const ChannelInfo* MemoListCallback::ci

Definition at line 54 of file ms_read.cpp.

◆ mi

MemoInfo* MemoListCallback::mi

Definition at line 53 of file ms_read.cpp.

Referenced by CommandMSRead::Execute().

◆ source

CommandSource& MemoListCallback::source

Definition at line 52 of file ms_read.cpp.

Referenced by CommandMSRead::Execute(), and CommandMSRead::OnHelp().

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