Exemplo n.º 1
0
std::string LLUrlEntryHTTPLabel::getLabel(const std::string &url, const LLUrlLabelCallback &cb)
{
	std::string label = getLabelFromWikiLink(url);
	return (!LLUrlRegistry::instance().hasUrl(label)) ? label : getUrl(url);
}
Exemplo n.º 2
0
std::string LLUrlEntrySLLabel::getLabel(const std::string &url, const LLUrlLabelCallback &cb)
{
	return getLabelFromWikiLink(url);
}
Exemplo n.º 3
0
std::string LLUrlEntrySLLabel::getLabel(const std::string &url, const LLUrlLabelCallback &cb)
{
	std::string ret = getLabelFromWikiLink(url);
	LL_DEBUGS("UrlEntry") << "url " << ret << LL_ENDL;
	return ret;
}
bool LLUrlEntryBase::isWikiLinkCorrect(std::string url)
{
	std::string label = getLabelFromWikiLink(url);
	return (LLUrlRegistry::instance().hasUrl(label)) ? false : true;
}