summaryrefslogtreecommitdiff
path: root/indra/llui/llurlregistry.h
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-05-28 11:52:16 -0400
committerJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-05-28 11:52:16 -0400
commitfe4f85e587fc01319f0570541394eeca57273ba2 (patch)
treea3abfa235b1aad022fa5d262a60d639282635bc8 /indra/llui/llurlregistry.h
parentaeefc73129978f6f2c1ba8caaff2750eff2cfbb3 (diff)
parentde8275b14b30bf754cdba1da867cb2e6c2783639 (diff)
Merge remote-tracking branch 'origin/main' into geenz/2025.04-to-develop
Diffstat (limited to 'indra/llui/llurlregistry.h')
-rw-r--r--indra/llui/llurlregistry.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llui/llurlregistry.h b/indra/llui/llurlregistry.h
index c22af0dbc4..592e422487 100644
--- a/indra/llui/llurlregistry.h
+++ b/indra/llui/llurlregistry.h
@@ -75,7 +75,7 @@ public:
/// your callback is invoked if the matched Url's label changes in the future
bool findUrl(const std::string &text, LLUrlMatch &match,
const LLUrlLabelCallback &cb = &LLUrlRegistryNullCallback,
- bool is_content_trusted = false);
+ bool is_content_trusted = false, bool skip_non_mentions = false);
/// a slightly less efficient version of findUrl for wide strings
bool findUrl(const LLWString &text, LLUrlMatch &match,
@@ -92,6 +92,8 @@ public:
// Set handler for url registry to be capable of parsing and populating keybindings
void setKeybindingHandler(LLKeyBindingToStringHandler* handler);
+ bool containsAgentMention(const std::string& text);
+
private:
std::vector<LLUrlEntryBase *> mUrlEntry;
LLUrlEntryBase* mUrlEntryTrusted;
@@ -101,6 +103,7 @@ private:
LLUrlEntryBase* mUrlEntrySLLabel;
LLUrlEntryBase* mUrlEntryNoLink;
LLUrlEntryBase* mUrlEntryKeybinding;
+ LLUrlEntryBase* mUrlEntryAgentMention;
};
#endif