diff options
author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2014-10-02 18:20:10 +0300 |
---|---|---|
committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2014-10-02 18:20:10 +0300 |
commit | a25748e11ea59d72f8190373be5b8930288d4744 (patch) | |
tree | ddfebd4b4a738c7b636427b9ba469929b81627a5 /indra/llui/llurlmatch.h | |
parent | d95feec8dc38dad52f5265a9abc58175019c6d18 (diff) |
MAINT-4119 FIXED Uniquely decorate links on Second Life or Linden Lab domains
Diffstat (limited to 'indra/llui/llurlmatch.h')
-rwxr-xr-x | indra/llui/llurlmatch.h | 6 |
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 |