当前位置: 首页>>代码示例>>C++>>正文


C++ CModInfo::SetArgsHelpText方法代码示例

本文整理汇总了C++中CModInfo::SetArgsHelpText方法的典型用法代码示例。如果您正苦于以下问题:C++ CModInfo::SetArgsHelpText方法的具体用法?C++ CModInfo::SetArgsHelpText怎么用?C++ CModInfo::SetArgsHelpText使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CModInfo的用法示例。


在下文中一共展示了CModInfo::SetArgsHelpText方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1:

void TModInfo<CNotesMod>(CModInfo& Info) {
    Info.SetWikiPage("notes");
    Info.SetHasArgs(true);
    Info.SetArgsHelpText(
        "This user module takes up to one arguments. It can be "
        "-disableNotesOnLogin not to show notes upon client login");
}
开发者ID:sctigercat1,项目名称:znc,代码行数:7,代码来源:notes.cpp

示例2:

void TModInfo<CSimpleAway>(CModInfo& Info) {
    Info.SetWikiPage("simple_away");
    Info.SetHasArgs(true);
    Info.SetArgsHelpText(
        Info.t_s("You might enter up to 3 arguments, like -notimer awaymessage "
                 "or -timer 5 awaymessage."));
}
开发者ID:DarthGandalf,项目名称:znc,代码行数:7,代码来源:simple_away.cpp

示例3:

void TModInfo<CFloodDetachMod>(CModInfo& Info) {
    Info.SetWikiPage("flooddetach");
    Info.SetHasArgs(true);
    Info.SetArgsHelpText(
        "This user module takes up to two arguments. Arguments are msgs and "
        "secs numbers.");
}
开发者ID:MrLenin,项目名称:znc,代码行数:7,代码来源:flooddetach.cpp

示例4:

void TModInfo<CChanAttach>(CModInfo& Info) {
    Info.AddType(CModInfo::UserModule);
    Info.SetWikiPage("autoattach");
    Info.SetHasArgs(true);
    Info.SetArgsHelpText(
        "List of channel masks and channel masks with ! before them.");
}
开发者ID:Adam-,项目名称:znc,代码行数:7,代码来源:autoattach.cpp

示例5:

void TModInfo<CFloodDetachMod>(CModInfo& Info) {
    Info.SetWikiPage("flooddetach");
    Info.SetHasArgs(true);
    Info.SetArgsHelpText(
        Info.t_s("This user module takes up to two arguments. Arguments are "
                 "numbers of messages and seconds."));
}
开发者ID:BtbN,项目名称:znc,代码行数:7,代码来源:flooddetach.cpp

示例6:

template<> void TModInfo<CLogMod>(CModInfo& Info) {
    Info.AddType(CModInfo::NetworkModule);
    Info.AddType(CModInfo::GlobalModule);
    Info.SetHasArgs(true);
    Info.SetArgsHelpText("[-sanitize] Optional path where to store logs.");
    Info.SetWikiPage("log");
}
开发者ID:GDXN,项目名称:znc,代码行数:7,代码来源:log.cpp

示例7:

template<> void TModInfo<CCharsetMod>(CModInfo& Info)
{
	Info.SetWikiPage("charset");
	Info.SetHasArgs(true);
	Info.SetArgsHelpText("Two charset lists: [-force] "
						 "<client_charset1[,client_charset2[,...]]> "
						 "<server_charset1[,server_charset2[,...]]>");
}
开发者ID:Siyo92,项目名称:znc,代码行数:8,代码来源:charset.cpp

示例8: time

void TModInfo<CCtcpFloodMod>(CModInfo& Info) {
    Info.SetWikiPage("ctcpflood");
    Info.SetHasArgs(true);
    Info.SetArgsHelpText(Info.t_s(
        "This user module takes none to two arguments. The first argument is "
        "the number of lines after which the flood-protection is triggered. "
        "The second argument is the time (sec) to in which the number of lines "
        "is reached. The default setting is 4 CTCPs in 2 seconds"));
}
开发者ID:GLolol,项目名称:znc,代码行数:9,代码来源:ctcpflood.cpp

示例9:

template<> void TModInfo<CCgiIrcMod>(CModInfo& Info) {
	Info.SetHasArgs(true);
	Info.SetArgsHelpText("Password for CGI:IRC.");
}
开发者ID:lavery98,项目名称:cgiirc,代码行数:4,代码来源:cgiirc.cpp

示例10: for

template<> void TModInfo<CAutoVoiceMod>(CModInfo& Info) {
	Info.SetWikiPage("autovoice");
	Info.SetHasArgs(true);
	Info.SetArgsHelpText("Each argument is either a channel you want autovoice for (which can include wildcards) or, if it starts with !, it is an exception for autovoice.");
}
开发者ID:BlaXpirit,项目名称:znc,代码行数:5,代码来源:autovoice.cpp

示例11:

template<> void TModInfo<CAutoReplyMod>(CModInfo& Info) {
	Info.SetWikiPage("autoreply");
	Info.AddType(CModInfo::NetworkModule);
	Info.SetHasArgs(true);
	Info.SetArgsHelpText("You might specify a reply text. It is used when automatically answering queries, if you are not connected to ZNC.");
}
开发者ID:chpasswd,项目名称:znc,代码行数:6,代码来源:autoreply.cpp

示例12:

template<> void TModInfo<CRejoinMod>(CModInfo& Info) {
	Info.SetWikiPage("kickrejoin");
	Info.SetHasArgs(true);
	Info.SetArgsHelpText("You might enter the number of seconds to wait before rejoining.");
}
开发者ID:James-TR,项目名称:znc,代码行数:5,代码来源:kickrejoin.cpp

示例13:

template<> void TModInfo<CSChat>(CModInfo& Info) {
	Info.SetWikiPage("schat");
	Info.SetHasArgs(true);
	Info.SetArgsHelpText("Path to .pem file, if differs from main ZNC's one");
}
开发者ID:johnfb,项目名称:znc,代码行数:5,代码来源:schat.cpp

示例14:

template<> void TModInfo<CSASLAuthMod>(CModInfo& Info) {
	Info.SetWikiPage("cyrusauth");
	Info.SetHasArgs(true);
	Info.SetArgsHelpText("This global module takes up to two arguments - the methods of authentication - auxprop and saslauthd");
}
开发者ID:54lman,项目名称:znc,代码行数:5,代码来源:cyrusauth.cpp

示例15:

template<> void TModInfo<CModTcl>(CModInfo& Info) {
	Info.SetWikiPage("modtcl");
	Info.SetHasArgs(true);
	Info.SetArgsHelpText("The argument is the number of seconds to wait before rejoining.");
}
开发者ID:jakoch,项目名称:znc,代码行数:5,代码来源:modtcl.cpp


注:本文中的CModInfo::SetArgsHelpText方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。