From 420b91db29485df39fd6e724e782c449158811cb Mon Sep 17 00:00:00 2001 From: James Cook Date: Tue, 2 Jan 2007 08:33:20 +0000 Subject: Print done when done. --- indra/newview/llweb.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 indra/newview/llweb.h (limited to 'indra/newview/llweb.h') diff --git a/indra/newview/llweb.h b/indra/newview/llweb.h new file mode 100644 index 0000000000..69bfd4f3ae --- /dev/null +++ b/indra/newview/llweb.h @@ -0,0 +1,31 @@ +/** + * @file llweb.h + * @brief Functions dealing with web browsers + * @author James Cook + * + * Copyright (c) 2006-$CurrentYear$, Linden Research, Inc. + * $License$ + */ + +#ifndef LL_LLWEB_H +#define LL_LLWEB_H + +#include + +class LLWeb +{ +public: + // Loads unescaped url in either internal web browser or external + // browser, depending on user settings. + static void loadURL(std::string url); + + static void loadURL(const char* url) { loadURL( std::string(url) ); } + + // Loads unescaped url in external browser. + static void loadURLExternal(std::string url); + + // Returns escaped (eg, " " to "%20") url + static std::string escapeURL(std::string url); +}; + +#endif -- cgit v1.2.3