diff options
author | Lynx Linden <lynx@lindenlab.com> | 2009-11-03 19:08:11 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2009-11-03 19:08:11 +0000 |
commit | 00e56b09071f4e29ccec1a5451161817ffba4d96 (patch) | |
tree | 0a7039b79b6c53be444f881aa42e663f282ee787 /indra/llui/llurlentry.h | |
parent | 97f9ad9f4c049a76287968f2d4fd5133e883984b (diff) |
DEV-41358 DEV-41361: Added support for secondlife:///app/worldmap
SLurls to the LLUrlRegistry. These are now displayed with the more
human-readable label of "Show Map for XXXX" and sport a context menu
with various operations.
I also added "Show on Map" options to the context menus for other
location-based SLurls.
I also internationalized the text for "Teleport to" and the new "Show
Map for" strings.
Diffstat (limited to 'indra/llui/llurlentry.h')
-rw-r--r-- | indra/llui/llurlentry.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llui/llurlentry.h b/indra/llui/llurlentry.h index afb2fdcde9..180ef85673 100644 --- a/indra/llui/llurlentry.h +++ b/indra/llui/llurlentry.h @@ -243,4 +243,16 @@ public: /*virtual*/ std::string getUrl(const std::string &string); }; +/// +/// LLUrlEntryWorldMap Describes a Second Life worldmap Url, e.g., +/// secondlife:///app/worldmap/Ahern/50/50/50 +/// +class LLUrlEntryWorldMap : public LLUrlEntryBase +{ +public: + LLUrlEntryWorldMap(); + /*virtual*/ std::string getLabel(const std::string &url, const LLUrlLabelCallback &cb); + /*virtual*/ std::string getLocation(const std::string &url) const; +}; + #endif |