aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
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(