summaryrefslogtreecommitdiff
path: root/indra/newview/llspeakingindicatormanager.h
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-02-23 15:33:10 +0200
committerMike Antipov <mantipov@productengine.com>2010-02-23 15:33:10 +0200
commit1f8fb3f3bae92b9e632b8793ce4d8f59f9dfc1aa (patch)
treebeefde7228c3a114bca7654d5519d4332fd40db7 /indra/newview/llspeakingindicatormanager.h
parentd5a0fd7997352c80273ccb172a40250204ee0b34 (diff)
Work on major bug EXT-5562 (Misleading Active Voice Indicators in Group Chat Window, when Speakers are in Spatial Chat Only)
- updated code to store target session id for which registered indicator should be shown and process it while switching indicators on. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llspeakingindicatormanager.h')
-rw-r--r--indra/newview/llspeakingindicatormanager.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llspeakingindicatormanager.h b/indra/newview/llspeakingindicatormanager.h
index cd72b85bfd..b75c65c064 100644
--- a/indra/newview/llspeakingindicatormanager.h
+++ b/indra/newview/llspeakingindicatormanager.h
@@ -38,7 +38,18 @@
class LLSpeakingIndicator
{
public:
+ virtual ~LLSpeakingIndicator(){}
virtual void switchIndicator(bool switch_on) = 0;
+ void setTargetSessionID(const LLUUID& session_id) { mTargetSessionID = session_id; }
+ const LLUUID& getTargetSessionID() { return mTargetSessionID; }
+
+private:
+ /**
+ * session UUID for which indicator should be shown only.
+ * If it is set, registered indicator will be shown only in voice channel
+ * which has the same session id (EXT-5562).
+ */
+ LLUUID mTargetSessionID;
};
// See EXT-3976.