summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicechannel.h
diff options
context:
space:
mode:
authorDmitry Oleshko <doleshko@productengine.com>2009-11-09 17:44:55 +0200
committerDmitry Oleshko <doleshko@productengine.com>2009-11-09 17:44:55 +0200
commit92d3e335dcdf9cff143cf507c79925733254c896 (patch)
treeee42d54faf966068633bf18eb2daab52ee265cfd /indra/newview/llvoicechannel.h
parent60389a85e545575d6ca0abbaa4b5fcadd449793f (diff)
partial implementation for the major task (EXT-989) IM chiclets should expand to show active voice indicator
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llvoicechannel.h')
-rw-r--r--indra/newview/llvoicechannel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llvoicechannel.h b/indra/newview/llvoicechannel.h
index 8f1e9ff02d..20b6157b48 100644
--- a/indra/newview/llvoicechannel.h
+++ b/indra/newview/llvoicechannel.h
@@ -54,6 +54,13 @@ public:
typedef boost::function<void(const EState& old_state, const EState& new_state)> state_changed_callback_t;
+ // on current channel changed signal
+ typedef boost::function<void(const LLUUID& session_id)> channel_changed_callback_t;
+ typedef boost::signals2::signal<void(const LLUUID& session_id)> channel_changed_signal_t;
+ static channel_changed_signal_t sCurrentVoiceChannelChangedSignal;
+ static boost::signals2::connection setCurrentVoiceChannelChangedCallback(channel_changed_callback_t cb) { return sCurrentVoiceChannelChangedSignal.connect(cb); }
+
+
LLVoiceChannel(const LLUUID& session_id, const std::string& session_name);
virtual ~LLVoiceChannel();