aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-13 08:02:51 -0700
committerMcCabe Maxsted2009-10-13 08:02:51 -0700
commitf716f71a8266788cfcf1d7570a03104d06bcf97e (patch)
tree9bc4a727c1380a8300e1914e671f206e5152a0a2 /linden/indra/llwindow
parentUpdated inventory search to include description (from Emerald) (diff)
downloadmeta-impy-f716f71a8266788cfcf1d7570a03104d06bcf97e.zip
meta-impy-f716f71a8266788cfcf1d7570a03104d06bcf97e.tar.gz
meta-impy-f716f71a8266788cfcf1d7570a03104d06bcf97e.tar.bz2
meta-impy-f716f71a8266788cfcf1d7570a03104d06bcf97e.tar.xz
Applied show IM logs button from Emerald viewer and added an alert if there is no history
Diffstat (limited to 'linden/indra/llwindow')
-rw-r--r--linden/indra/llwindow/llwindow.h1
-rw-r--r--linden/indra/llwindow/llwindowwin32.cpp12
-rw-r--r--linden/indra/llwindow/llwindowwin32.h1
3 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/llwindow/llwindow.h b/linden/indra/llwindow/llwindow.h
index 0acbcb9..0004e92 100644
--- a/linden/indra/llwindow/llwindow.h
+++ b/linden/indra/llwindow/llwindow.h
@@ -202,6 +202,7 @@ public:
202 virtual void updateLanguageTextInputArea() {} 202 virtual void updateLanguageTextInputArea() {}
203 virtual void interruptLanguageTextInput() {} 203 virtual void interruptLanguageTextInput() {}
204 virtual void spawnWebBrowser(const std::string& escaped_url) {}; 204 virtual void spawnWebBrowser(const std::string& escaped_url) {};
205 virtual void ShellEx(const std::string& command) {};
205 206
206 static std::string getFontListSans(); 207 static std::string getFontListSans();
207 208
diff --git a/linden/indra/llwindow/llwindowwin32.cpp b/linden/indra/llwindow/llwindowwin32.cpp
index 2944511..a9c7758 100644
--- a/linden/indra/llwindow/llwindowwin32.cpp
+++ b/linden/indra/llwindow/llwindowwin32.cpp
@@ -2885,6 +2885,18 @@ S32 OSMessageBoxWin32(const std::string& text, const std::string& caption, U32 t
2885 return retval; 2885 return retval;
2886} 2886}
2887 2887
2888void LLWindowWin32::ShellEx(const std::string& command )
2889{
2890 LLWString url_wstring = utf8str_to_wstring( command );
2891 llutf16string url_utf16 = wstring_to_utf16str( url_wstring );
2892
2893 SHELLEXECUTEINFO sei = { sizeof( sei ) };
2894 sei.fMask = SEE_MASK_FLAG_DDEWAIT;
2895 sei.nShow = SW_SHOWNORMAL;
2896 sei.lpVerb = L"open";
2897 sei.lpFile = url_utf16.c_str();
2898 ShellExecuteEx( &sei );
2899}
2888 2900
2889void LLWindowWin32::spawnWebBrowser(const std::string& escaped_url ) 2901void LLWindowWin32::spawnWebBrowser(const std::string& escaped_url )
2890{ 2902{
diff --git a/linden/indra/llwindow/llwindowwin32.h b/linden/indra/llwindow/llwindowwin32.h
index 795fc79..bea55c6 100644
--- a/linden/indra/llwindow/llwindowwin32.h
+++ b/linden/indra/llwindow/llwindowwin32.h
@@ -110,6 +110,7 @@ public:
110 /*virtual*/ void updateLanguageTextInputArea(); 110 /*virtual*/ void updateLanguageTextInputArea();
111 /*virtual*/ void interruptLanguageTextInput(); 111 /*virtual*/ void interruptLanguageTextInput();
112 /*virtual*/ void spawnWebBrowser(const std::string& escaped_url); 112 /*virtual*/ void spawnWebBrowser(const std::string& escaped_url);
113 /*virtual*/ void ShellEx(const std::string& command);
113 114
114 static std::string getFontListSans(); 115 static std::string getFontListSans();
115 116