#include <memo.h>

Public Member Functions | |
| MemoInfo () | |
| Memo * | GetMemo (unsigned index) const |
| unsigned | GetIndex (Memo *m) const |
| void | Del (unsigned index) |
| bool | HasIgnore (User *u) |
Static Public Member Functions | |
| static MemoInfo * | GetMemoInfo (const Anope::string &targ, bool &is_chan) |
Data Fields | |
| int16_t | memomax |
| Serialize::Checker < std::vector< Memo * > > | memos |
| std::vector< Anope::string > | ignores |
Definition at line 40 of file memo.h.
| void MemoInfo::Del | ( | unsigned | index | ) |
Definition at line 100 of file memos.cpp.
References GetMemo(), and memos.
Referenced by CommandMSDel::Execute(), CommandMSCancel::Execute(), and MemoDelCallback::HandleNumber().
| unsigned MemoInfo::GetIndex | ( | Memo * | m | ) | const |
Definition at line 92 of file memos.cpp.
References GetMemo(), and memos.
Referenced by SendMemoMail().
| Memo * MemoInfo::GetMemo | ( | unsigned | index | ) | const |
Definition at line 83 of file memos.cpp.
References memos, and Serializable::QueueUpdate().
Referenced by MyMemoServService::Check(), Del(), MemoListCallback::DoRead(), CommandMSRSend::Execute(), CommandMSRead::Execute(), CommandMSList::Execute(), CommandMSInfo::Execute(), CommandMSDel::Execute(), CommandMSCheck::Execute(), CommandMSCancel::Execute(), GetIndex(), MemoDelCallback::HandleNumber(), WebCPanel::MemoServ::Memos::OnRequest(), DBPlain::OnSaveDatabase(), ChannelInfo::~ChannelInfo(), and NickCore::~NickCore().
| MemoInfo * MemoInfo::GetMemoInfo | ( | const Anope::string & | targ, | |
| bool & | is_chan | |||
| ) | [static] |
Definition at line 115 of file memos.cpp.
References Anope::string::empty(), NickAlias::Find(), ChannelInfo::Find(), ChannelInfo::memos, and NickAlias::nc.
Referenced by CommandMSRSend::Execute(), CommandMSIgnore::Execute(), CommandMSCancel::Execute(), MyMemoServService::Send(), Memo::Unserialize(), and Memo::~Memo().
| bool MemoInfo::HasIgnore | ( | User * | u | ) |
Definition at line 107 of file memos.cpp.
References User::Account(), NickCore::display, Anope::string::equals_ci(), User::GetMask(), ignores, Anope::Match(), and User::nick.
Referenced by MyMemoServService::Send().
| std::vector<Anope::string> MemoInfo::ignores |
Definition at line 44 of file memo.h.
Referenced by CommandMSIgnore::Execute(), HasIgnore(), OnDatabaseReadMetadata(), DBPlain::OnSaveDatabase(), ChannelInfo::Serialize(), and NickCore::Serialize().
| int16_t MemoInfo::memomax |
Definition at line 42 of file memo.h.
Referenced by ChannelInfo::ChannelInfo(), MyMemoServService::Check(), CommandMSSet::DoLimit(), CommandMSInfo::Execute(), LoadChannels(), LoadNicks(), NickCore::NickCore(), OnDatabaseReadMetadata(), DBPlain::OnSaveDatabase(), MyMemoServService::Send(), ChannelInfo::Serialize(), and NickCore::Serialize().
| Serialize::Checker<std::vector<Memo *> > MemoInfo::memos |
Definition at line 43 of file memo.h.
Referenced by MyMemoServService::Check(), Del(), CommandMSRSend::Execute(), CommandMSRead::Execute(), CommandMSList::Execute(), CommandMSInfo::Execute(), CommandMSDel::Execute(), CommandMSCheck::Execute(), CommandMSCancel::Execute(), GetIndex(), GetMemo(), MemoListCallback::HandleNumber(), MemoDelCallback::HandleNumber(), LoadChannels(), LoadNicks(), OnDatabaseReadMetadata(), WebCPanel::MemoServ::Memos::OnRequest(), DBPlain::OnSaveDatabase(), MyMemoServService::Send(), Memo::Unserialize(), ChannelInfo::~ChannelInfo(), Memo::~Memo(), and NickCore::~NickCore().
1.7.1