summaryrefslogtreecommitdiff
path: root/indra/llui/llurlmatch.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-02-25 16:55:35 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-02-25 16:55:35 -0500
commitc3f05185a719e07706dc7f0096f5683c231a2755 (patch)
treec6d17f2cf0a9acf1570ec83c3d2942d5e9cb49e4 /indra/llui/llurlmatch.h
parent692d3b17257ced5b70737d54f47f55a006206f36 (diff)
parent9b45bc992edf8d049d8a1abe2e778870a493295a (diff)
merge
Diffstat (limited to 'indra/llui/llurlmatch.h')
-rwxr-xr-xindra/llui/llurlmatch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/llurlmatch.h b/indra/llui/llurlmatch.h
index 2818f45207..9f8960b32f 100755
--- a/indra/llui/llurlmatch.h
+++ b/indra/llui/llurlmatch.h
@@ -80,12 +80,15 @@ public:
/// Should this link text be underlined only when mouse is hovered over it?
bool underlineOnHoverOnly() const { return mUnderlineOnHoverOnly; }
+ /// Return true if Url is trusted.
+ bool isTrusted() const { return mTrusted; }
+
/// Change the contents of this match object (used by LLUrlRegistry)
void setValues(U32 start, U32 end, const std::string &url, const std::string &label,
const std::string &tooltip, const std::string &icon,
const LLStyle::Params& style, const std::string &menu,
const std::string &location, const LLUUID& id,
- bool underline_on_hover_only = false );
+ bool underline_on_hover_only = false, bool trusted = false );
const LLUUID& getID() const { return mID; }
private:
@@ -100,6 +103,7 @@ private:
LLUUID mID;
LLStyle::Params mStyle;
bool mUnderlineOnHoverOnly;
+ bool mTrusted;
};
#endif