aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateractivespeakers.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llfloateractivespeakers.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llfloateractivespeakers.h')
-rw-r--r--linden/indra/newview/llfloateractivespeakers.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llfloateractivespeakers.h b/linden/indra/newview/llfloateractivespeakers.h
index 0aa4de9..550b48c 100644
--- a/linden/indra/newview/llfloateractivespeakers.h
+++ b/linden/indra/newview/llfloateractivespeakers.h
@@ -67,16 +67,16 @@ public:
67 } ESpeakerStatus; 67 } ESpeakerStatus;
68 68
69 69
70 LLSpeaker(const LLUUID& id, const LLString& name = LLString::null, const ESpeakerType type = SPEAKER_AGENT); 70 LLSpeaker(const LLUUID& id, const std::string& name = LLStringUtil::null, const ESpeakerType type = SPEAKER_AGENT);
71 ~LLSpeaker() {}; 71 ~LLSpeaker() {};
72 void lookupName(); 72 void lookupName();
73 73
74 static void onAvatarNameLookup(const LLUUID& id, const char* first, const char* last, BOOL is_group, void* user_data); 74 static void onAvatarNameLookup(const LLUUID& id, const std::string& first, const std::string& last, BOOL is_group, void* user_data);
75 75
76 ESpeakerStatus mStatus; // current activity status in speech group 76 ESpeakerStatus mStatus; // current activity status in speech group
77 F32 mLastSpokeTime; // timestamp when this speaker last spoke 77 F32 mLastSpokeTime; // timestamp when this speaker last spoke
78 F32 mSpeechVolume; // current speech amplitude (timea average rms amplitude?) 78 F32 mSpeechVolume; // current speech amplitude (timea average rms amplitude?)
79 LLString mDisplayName; // cache user name for this speaker 79 std::string mDisplayName; // cache user name for this speaker
80 LLFrameTimer mActivityTimer; // time out speakers when they are not part of current voice channel 80 LLFrameTimer mActivityTimer; // time out speakers when they are not part of current voice channel
81 BOOL mHasSpoken; // has this speaker said anything this session? 81 BOOL mHasSpoken; // has this speaker said anything this session?
82 LLColor4 mDotColor; 82 LLColor4 mDotColor;
@@ -120,11 +120,11 @@ public:
120 virtual ~LLSpeakerMgr(); 120 virtual ~LLSpeakerMgr();
121 121
122 const LLPointer<LLSpeaker> findSpeaker(const LLUUID& avatar_id); 122 const LLPointer<LLSpeaker> findSpeaker(const LLUUID& avatar_id);
123 void update(); 123 void update(BOOL resort_ok);
124 void setSpeakerTyping(const LLUUID& speaker_id, BOOL typing); 124 void setSpeakerTyping(const LLUUID& speaker_id, BOOL typing);
125 void speakerChatted(const LLUUID& speaker_id); 125 void speakerChatted(const LLUUID& speaker_id);
126 LLPointer<LLSpeaker> setSpeaker(const LLUUID& id, 126 LLPointer<LLSpeaker> setSpeaker(const LLUUID& id,
127 const LLString& name = LLString::null, 127 const std::string& name = LLStringUtil::null,
128 LLSpeaker::ESpeakerStatus status = LLSpeaker::STATUS_TEXT_ONLY, 128 LLSpeaker::ESpeakerStatus status = LLSpeaker::STATUS_TEXT_ONLY,
129 LLSpeaker::ESpeakerType = LLSpeaker::SPEAKER_AGENT); 129 LLSpeaker::ESpeakerType = LLSpeaker::SPEAKER_AGENT);
130 130
@@ -211,7 +211,7 @@ public:
211 void refreshSpeakers(); 211 void refreshSpeakers();
212 212
213 void setSpeaker(const LLUUID& id, 213 void setSpeaker(const LLUUID& id,
214 const LLString& name = LLString::null, 214 const std::string& name = LLStringUtil::null,
215 LLSpeaker::ESpeakerStatus status = LLSpeaker::STATUS_TEXT_ONLY, 215 LLSpeaker::ESpeakerStatus status = LLSpeaker::STATUS_TEXT_ONLY,
216 LLSpeaker::ESpeakerType = LLSpeaker::SPEAKER_AGENT); 216 LLSpeaker::ESpeakerType = LLSpeaker::SPEAKER_AGENT);
217 217