aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/llmediaobserver.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llmedia/llmediaobserver.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r--linden/indra/llmedia/llmediaobserver.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/llmedia/llmediaobserver.h b/linden/indra/llmedia/llmediaobserver.h
index aeb2c39..ec9f881 100644
--- a/linden/indra/llmedia/llmediaobserver.h
+++ b/linden/indra/llmedia/llmediaobserver.h
@@ -47,6 +47,11 @@ class LLMediaEvent
47 { 47 {
48 }; 48 };
49 49
50 LLMediaEvent( LLMediaBase* subject, std::string string_in, std::string string_ex_in ) :
51 mSubject( subject ), mStringValue(string_in), mStringValueEx(string_ex_in)
52 {
53 };
54
50 LLMediaEvent( LLMediaBase* subject, std::string string_in, int int_in ) : 55 LLMediaEvent( LLMediaBase* subject, std::string string_in, int int_in ) :
51 mSubject( subject ), mStringValue(string_in), mIntValue(int_in) 56 mSubject( subject ), mStringValue(string_in), mIntValue(int_in)
52 { 57 {
@@ -74,10 +79,16 @@ class LLMediaEvent
74 return mStringValue; 79 return mStringValue;
75 } 80 }
76 81
82 std::string getStringValueEx() const
83 {
84 return mStringValueEx;
85 }
86
77 private: 87 private:
78 LLMediaBase* mSubject; 88 LLMediaBase* mSubject;
79 int mIntValue; 89 int mIntValue;
80 std::string mStringValue; 90 std::string mStringValue;
91 std::string mStringValueEx;
81}; 92};
82 93
83class LLMediaObserver 94class LLMediaObserver