aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llurldispatcher.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:27 -0500
committerJacek Antonelli2008-08-15 23:45:27 -0500
commita8a62201ba762e98dff92cf49033e577fc34d8d4 (patch)
tree11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/newview/llurldispatcher.h
parentSecond Life viewer sources 1.18.6.4-RC (diff)
downloadmeta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz
Second Life viewer sources 1.19.0.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llurldispatcher.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/linden/indra/newview/llurldispatcher.h b/linden/indra/newview/llurldispatcher.h
index b18cd66..dd6ffb4 100644
--- a/linden/indra/newview/llurldispatcher.h
+++ b/linden/indra/newview/llurldispatcher.h
@@ -12,12 +12,12 @@
12 * ("GPL"), unless you have obtained a separate licensing agreement 12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of 13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or 14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlife.com/developers/opensource/gplv2 15 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
16 * 16 *
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlife.com/developers/opensource/flossexception 20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 21 *
22 * By copying, modifying or distributing this software, you acknowledge 22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 23 * that you have read and understood your obligations described above,
@@ -40,16 +40,21 @@ public:
40 static bool isSLURLCommand(const std::string& url); 40 static bool isSLURLCommand(const std::string& url);
41 // Is this a special secondlife://app/ URL? 41 // Is this a special secondlife://app/ URL?
42 42
43 static bool dispatch(const std::string& url); 43 static bool dispatch(const std::string& url, bool from_external_browser);
44 // At startup time and on clicks in internal web browsers, 44 // At startup time and on clicks in internal web browsers,
45 // teleport, open map, or run requested command. 45 // teleport, open map, or run requested command.
46 // Handles: 46 // Handles:
47 // secondlife://RegionName/123/45/67/ 47 // secondlife://RegionName/123/45/67/
48 // secondlife://app/agent/3d6181b0-6a4b-97ef-18d8-722652995cf1/show 48 // secondlife:///app/agent/3d6181b0-6a4b-97ef-18d8-722652995cf1/show
49 // sl://app/foo/bar 49 // sl://app/foo/bar
50 // Returns true if someone handled the URL. 50 // Returns true if someone handled the URL.
51
51 static bool dispatchRightClick(const std::string& url); 52 static bool dispatchRightClick(const std::string& url);
52 53
54 static bool dispatchFromTextEditor(const std::string& url);
55
56 static std::string buildSLURL(const std::string& regionname, S32 x, S32 y, S32 z);
57 // builds: http://slurl.com/secondlife/RegionName/x/y/z/
53}; 58};
54 59
55#endif 60#endif