|
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, EModuleType eType) |
Public Member Functions | |
| CModInfo () | |
| CModInfo (const CString &sName, const CString &sPath, EModuleType eType) | |
| ~CModInfo () | |
| bool | operator< (const CModInfo &Info) const |
| bool | SupportsType (EModuleType eType) const |
| 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) |
| CString | t_s (const CString &sEnglish, const CString &sContext="") const |
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, EModuleType eType) |
|
inline |
Referenced by CModInfo(), and operator<().
|
inline |
References CModInfo(), and NetworkModule.
|
inline |
References m_fLoader.
|
inline |
References m_seType.
|
inline |
References m_sWikiPage.
|
inline |
References m_fLoader.
|
inline |
References m_sArgsHelpText.
|
inline |
References m_bHasArgs.
|
inline |
Referenced by operator<().
|
inline |
References m_sDescription.
|
inlinestatic |
References GlobalModule, NetworkModule, and UserModule.
|
inline |
References CModInfo(), and GetName().
|
inline |
References m_sWikiPage.
|
inline |
References m_fLoader.
|
inline |
References m_sArgsHelpText.
|
inline |
References m_bHasArgs.
|
inline |
|
inline |
References m_sDescription.
|
inline |
References m_seType.
|
protected |
Referenced by GetLoader(), and SetLoader().
|
protected |
|
protected |
Referenced by ~CModInfo(), GetDefaultType(), and SetDefaultType().
|
protected |
Referenced by GetHasArgs(), and SetHasArgs().
|
protected |
Referenced by GetWikiPage(), and SetWikiPage().
|
protected |
Referenced by AddType(), and SupportsType().
|
protected |
Referenced by GetDescription(), and SetDescription().
|
protected |
Referenced by GetArgsHelpText(), and SetArgsHelpText().