summaryrefslogtreecommitdiff
path: root/indra/llui/llurlaction.h
diff options
context:
space:
mode:
authorEugene Mutavchi <emutavchi@productengine.com>2010-04-21 20:23:55 +0300
committerEugene Mutavchi <emutavchi@productengine.com>2010-04-21 20:23:55 +0300
commit647327d0eca0c089d94ce964a8cc837cc2888e93 (patch)
treebf4cfc385e8cb50fde60028e655e7a8a916f964a /indra/llui/llurlaction.h
parentb36539f23f6eba4ac20f53bbb134e2562421dc9c (diff)
Fixed normal bug EXT-6907 ('Show residents profile' menu opens inspector instead of profile) - added 'Url.ShowProfile' action.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/282/ --HG-- branch : product-engine
Diffstat (limited to 'indra/llui/llurlaction.h')
-rw-r--r--indra/llui/llurlaction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llui/llurlaction.h b/indra/llui/llurlaction.h
index 4830cf27ef..b96faf1b3f 100644
--- a/indra/llui/llurlaction.h
+++ b/indra/llui/llurlaction.h
@@ -79,6 +79,9 @@ public:
/// copy a Url to the clipboard
static void copyURLToClipboard(std::string url);
+ /// if the Url specifies an SL command in the form like 'app/{cmd}/{id}/*', show its profile
+ static void showProfile(std::string url);
+
/// specify the callbacks to enable this class's functionality
static void setOpenURLCallback(void (*cb) (const std::string& url));
static void setOpenURLInternalCallback(void (*cb) (const std::string& url));