aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/llmediaobserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmedia/llmediaobserver.h')
-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