#include <modules.h>

Public Member Functions | |
| Message (const Anope::string &n, bool(*f)(const Anope::string &, const std::vector< Anope::string > &)) | |
| ~Message () | |
Data Fields | |
| Anope::string | name |
| bool(* | func )(const Anope::string &source, const std::vector< Anope::string > ¶ms) |
Definition at line 1124 of file modules.h.
| Message::Message | ( | const Anope::string & | n, | |
| bool(*)(const Anope::string &, const std::vector< Anope::string > &) | f | |||
| ) |
Message constructor, adds the message to Anope
| n | The message name | |
| f | A callback function |
Definition at line 34 of file modules.cpp.
References MessageMap, and name.
| Message::~Message | ( | ) |
| bool(* Message::func)(const Anope::string &source, const std::vector< Anope::string > ¶ms) |
Definition at line 1127 of file modules.h.
Referenced by Message(), and ~Message().
1.7.1