diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2009-11-11 16:59:49 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2009-11-11 16:59:49 +0000 |
commit | 0d01300762a8413c3b137e433ee4c02070798792 (patch) | |
tree | 767899c643147b291a888ea69e7cb6d709300a29 /indra/newview/llvoicechannel.cpp | |
parent | 71fd3852b026ab98438ce87be89c98944a76b8a5 (diff) |
sketch-out the outgoing call dialog code. WIP.
Diffstat (limited to 'indra/newview/llvoicechannel.cpp')
-rw-r--r-- | indra/newview/llvoicechannel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp index 89649407ff..04ae44e08d 100644 --- a/indra/newview/llvoicechannel.cpp +++ b/indra/newview/llvoicechannel.cpp @@ -378,9 +378,15 @@ void LLVoiceChannel::setURI(std::string uri) void LLVoiceChannel::setState(EState state) { + LLSD payload; + payload["session_id"] = mSessionID; + payload["session_name"] = mSessionName; + switch(state) { case STATE_RINGING: + LLFloaterReg::showInstance("outgoing_call", payload, TRUE); + llinfos << "RINGINGGGGGGGG " << mSessionName << llendl; gIMMgr->addSystemMessage(mSessionID, "ringing", mNotifyArgs); break; case STATE_CONNECTED: |