diff options
author | James Cook <james@lindenlab.com> | 2010-01-22 18:29:29 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-01-22 18:29:29 -0800 |
commit | 40907986d4044e2be75f862fac1153f9a14f13ad (patch) | |
tree | 33502b643942323cc9670f548c85ff3e78a1dc55 /indra/llui/llurlregistry.h | |
parent | 1ddd2f2677471cc00465b2a619b138bb054db770 (diff) |
Pull llurlentryagent into newview so I can compile/link faster
Diffstat (limited to 'indra/llui/llurlregistry.h')
-rw-r--r-- | indra/llui/llurlregistry.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llurlregistry.h b/indra/llui/llurlregistry.h index 399ee0a988..6d47c2c2a2 100644 --- a/indra/llui/llurlregistry.h +++ b/indra/llui/llurlregistry.h @@ -70,7 +70,9 @@ public: ~LLUrlRegistry(); /// add a new Url handler to the registry (will be freed on destruction) - void registerUrl(LLUrlEntryBase *url); + /// optionally force it to the front of the list, making it take + /// priority over other regular expression matches for URLs + void registerUrl(LLUrlEntryBase *url, bool force_front = false); /// get the next Url in an input string, starting at a given character offset /// your callback is invoked if the matched Url's label changes in the future |