ZNC
trunk
|
#include <Modules.h>
Public Types | |
enum | EModuleType { GlobalModule, UserModule, NetworkModule } |
typedef CModule *(* | ModLoader )(ModHandle p, CUser *pUser, CIRCNetwork *pNetwork, const CString &sModName, const CString &sModPath) |
Public Member Functions | |
CModInfo () | |
CModInfo (const CString &sName, const CString &sPath, EModuleType eType) | |
~CModInfo () | |
bool | operator< (const CModInfo &Info) const |
bool | SupportsType (EModuleType eType) |
void | AddType (EModuleType eType) |
const CString & | GetName () const |
const CString & | GetPath () const |
const CString & | GetDescription () const |
const CString & | GetWikiPage () const |
const CString & | GetArgsHelpText () const |
bool | GetHasArgs () const |
ModLoader | GetLoader () const |
EModuleType | GetDefaultType () const |
void | SetName (const CString &s) |
void | SetPath (const CString &s) |
void | SetDescription (const CString &s) |
void | SetWikiPage (const CString &s) |
void | SetArgsHelpText (const CString &s) |
void | SetHasArgs (bool b=false) |
void | SetLoader (ModLoader fLoader) |
void | SetDefaultType (EModuleType eType) |
Static Public Member Functions | |
static CString | ModuleTypeToString (EModuleType eType) |
Protected Attributes | |
std::set< EModuleType > | m_seType |
EModuleType | m_eDefaultType |
CString | m_sName |
CString | m_sPath |
CString | m_sDescription |
CString | m_sWikiPage |
CString | m_sArgsHelpText |
bool | m_bHasArgs |
ModLoader | m_fLoader |
typedef CModule*(* CModInfo::ModLoader)(ModHandle p, CUser *pUser, CIRCNetwork *pNetwork, const CString &sModName, const CString &sModPath) |
|
inline |
References m_bHasArgs, and m_fLoader.
|
inline |
References m_bHasArgs, m_fLoader, m_sName, and m_sPath.
|
inline |
|
inline |
References m_seType.
|
inline |
References m_sArgsHelpText.
|
inline |
References m_eDefaultType.
|
inline |
References m_sDescription.
|
inline |
References m_bHasArgs.
|
inline |
References m_sName.
Referenced by operator<().
|
inline |
References m_sWikiPage.
|
inlinestatic |
References GlobalModule, NetworkModule, and UserModule.
|
inline |
References m_sArgsHelpText.
|
inline |
References m_eDefaultType.
|
inline |
References m_sDescription.
|
inline |
References m_bHasArgs.
|
inline |
References m_sWikiPage.
|
inline |
References m_seType.
|
protected |
Referenced by CModInfo(), GetHasArgs(), and SetHasArgs().
|
protected |
Referenced by GetDefaultType(), and SetDefaultType().
|
protected |
Referenced by CModInfo(), GetLoader(), and SetLoader().
|
protected |
Referenced by GetArgsHelpText(), and SetArgsHelpText().
|
protected |
Referenced by GetDescription(), and SetDescription().
|
protected |
Referenced by AddType(), and SupportsType().
|
protected |
Referenced by CModInfo(), GetName(), and SetName().
|
protected |
Referenced by CModInfo(), GetPath(), and SetPath().
|
protected |
Referenced by GetWikiPage(), and SetWikiPage().