std::string LLUrlEntryHTTPLabel::getLabel(const std::string &url, const LLUrlLabelCallback &cb) { std::string label = getLabelFromWikiLink(url); return (!LLUrlRegistry::instance().hasUrl(label)) ? label : getUrl(url); }
std::string LLUrlEntrySLLabel::getLabel(const std::string &url, const LLUrlLabelCallback &cb) { return getLabelFromWikiLink(url); }
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; }