aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorDavid Walter Seikel2011-12-03 18:50:34 +1000
committerDavid Walter Seikel2011-12-03 18:50:34 +1000
commitd3b9f715f0ad9516fa350a5c0b83330b733ee0f9 (patch)
treee1481a7b83ae6f4fa0a88c4eebb6dbecd83e86fd /linden/indra/newview/llvoiceclient.cpp
parentAnother possible fix for misplaced HUDs? (diff)
parentMade the voice license window resizable (diff)
downloadmeta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.zip
meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.gz
meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.bz2
meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.xz
Merge branch 'next' of git://github.com/imprudence/imprudence into next
Removed the new "Set your own Imprudence tag colour feature". Should check though, might be bits left that where not obvious. Conflicts: .gitignore linden/indra/cmake/00-Common.cmake linden/indra/newview/llvoavatar.cpp linden/indra/newview/res/viewerRes.rc linden/indra/newview/skins/default/xui/en-us/panel_login.xml linden/indra/newview/viewer_manifest.py linden/indra/newview/viewerinfo.cpp The usual branding conflicts.
Diffstat (limited to 'linden/indra/newview/llvoiceclient.cpp')
-rw-r--r--linden/indra/newview/llvoiceclient.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llvoiceclient.cpp b/linden/indra/newview/llvoiceclient.cpp
index 4b5d3ce..c5b5e99 100644
--- a/linden/indra/newview/llvoiceclient.cpp
+++ b/linden/indra/newview/llvoiceclient.cpp
@@ -58,11 +58,13 @@
58#include "llimview.h" // for LLIMMgr 58#include "llimview.h" // for LLIMMgr
59#include "llimpanel.h" // for LLVoiceChannel 59#include "llimpanel.h" // for LLVoiceChannel
60#include "llparcel.h" 60#include "llparcel.h"
61#include "llstartup.h"
61#include "llviewerparcelmgr.h" 62#include "llviewerparcelmgr.h"
62#include "llfirstuse.h" 63#include "llfirstuse.h"
63#include "llviewerwindow.h" 64#include "llviewerwindow.h"
64#include "llviewercamera.h" 65#include "llviewercamera.h"
65#include "hippolimits.h" 66#include "hippolimits.h"
67#include "hippogridmanager.h"
66 68
67#include "llfloaterfriends.h" //VIVOX, inorder to refresh communicate panel 69#include "llfloaterfriends.h" //VIVOX, inorder to refresh communicate panel
68#include "llfloaterchat.h" // for LLFloaterChat::addChat() 70#include "llfloaterchat.h" // for LLFloaterChat::addChat()
@@ -76,6 +78,7 @@
76// for MD5 hash 78// for MD5 hash
77#include "llmd5.h" 79#include "llmd5.h"
78 80
81
79#define USE_SESSION_GROUPS 0 82#define USE_SESSION_GROUPS 0
80 83
81static bool sConnectingToAgni = false; 84static bool sConnectingToAgni = false;
@@ -7148,6 +7151,15 @@ void LLVoiceClient::avatarNameResolved(const LLUUID &id, const std::string &name
7148 } 7151 }
7149} 7152}
7150 7153
7154//static
7155bool LLVoiceClient::needsVivoxLicense()
7156{
7157 // assumes we're always using slvoice.exe on Second Life
7158 bool needs_license = !gSavedSettings.getBOOL("VivoxLicenseAccepted") &&
7159 gHippoGridManager->getCurrentGrid()->isSecondLife();
7160 return needs_license;
7161}
7162
7151class LLViewerParcelVoiceInfo : public LLHTTPNode 7163class LLViewerParcelVoiceInfo : public LLHTTPNode
7152{ 7164{
7153 virtual void post( 7165 virtual void post(