From ce28e056c20bf2723f565bbf464b87781ec248a2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:42 -0500 Subject: Second Life viewer sources 1.20.2 --- linden/libraries/include/llmozlib2.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'linden/libraries/include/llmozlib2.h') diff --git a/linden/libraries/include/llmozlib2.h b/linden/libraries/include/llmozlib2.h index 1dd71dc..d85caf9 100644 --- a/linden/libraries/include/llmozlib2.h +++ b/linden/libraries/include/llmozlib2.h @@ -72,6 +72,15 @@ class LLEmbeddedBrowserWindowEvent { }; + // 2 strings passed with the event + LLEmbeddedBrowserWindowEvent( int eventWindowIdIn, std::string uriIn, std::string stringValIn, std::string stringVal2In ) : + mEventWindowId( eventWindowIdIn ), + mEventUri( uriIn ), + mStringVal( stringValIn ), + mStringVal2( stringVal2In ) + { + }; + // string and an int passed with the event LLEmbeddedBrowserWindowEvent( int eventWindowIdIn, std::string uriIn, std::string stringValIn, int intValIn ) : mEventWindowId( eventWindowIdIn ), @@ -116,6 +125,11 @@ class LLEmbeddedBrowserWindowEvent return mStringVal; }; + std::string getStringValue2() const + { + return mStringVal2; + }; + void getRectValue( int& xOut, int& yOut, int& widthOut, int& heightOut ) const { xOut = mXVal; @@ -129,6 +143,7 @@ class LLEmbeddedBrowserWindowEvent std::string mEventUri; int mIntVal; std::string mStringVal; + std::string mStringVal2; int mXVal; int mYVal; int mWidthVal; -- cgit v1.1