Skip to content
Snippets Groups Projects
Commit 243fe065 authored by Aura Linden's avatar Aura Linden
Browse files

Interim version with SLIM removed from voice.

parent d1675754
No related branches found
No related tags found
No related merge requests found
...@@ -712,14 +712,7 @@ BOOL LLVoiceClient::isParticipantAvatar(const LLUUID& id) ...@@ -712,14 +712,7 @@ BOOL LLVoiceClient::isParticipantAvatar(const LLUUID& id)
BOOL LLVoiceClient::isOnlineSIP(const LLUUID& id) BOOL LLVoiceClient::isOnlineSIP(const LLUUID& id)
{ {
if (mVoiceModule)
{
return mVoiceModule->isOnlineSIP(id);
}
else
{
return FALSE; return FALSE;
}
} }
BOOL LLVoiceClient::getIsSpeaking(const LLUUID& id) BOOL LLVoiceClient::getIsSpeaking(const LLUUID& id)
......
...@@ -199,7 +199,6 @@ class LLVoiceModuleInterface ...@@ -199,7 +199,6 @@ class LLVoiceModuleInterface
//@{ //@{
virtual BOOL getVoiceEnabled(const LLUUID& id)=0; // true if we've received data for this avatar virtual BOOL getVoiceEnabled(const LLUUID& id)=0; // true if we've received data for this avatar
virtual std::string getDisplayName(const LLUUID& id)=0; virtual std::string getDisplayName(const LLUUID& id)=0;
virtual BOOL isOnlineSIP(const LLUUID &id)=0;
virtual BOOL isParticipantAvatar(const LLUUID &id)=0; virtual BOOL isParticipantAvatar(const LLUUID &id)=0;
virtual BOOL getIsSpeaking(const LLUUID& id)=0; virtual BOOL getIsSpeaking(const LLUUID& id)=0;
virtual BOOL getIsModeratorMuted(const LLUUID& id)=0; virtual BOOL getIsModeratorMuted(const LLUUID& id)=0;
......
This diff is collapsed.
...@@ -48,7 +48,6 @@ class LLVivoxProtocolParser; ...@@ -48,7 +48,6 @@ class LLVivoxProtocolParser;
class LLAvatarName; class LLAvatarName;
class LLVivoxVoiceAccountProvisionResponder; class LLVivoxVoiceAccountProvisionResponder;
class LLVivoxVoiceClientMuteListObserver; class LLVivoxVoiceClientMuteListObserver;
class LLVivoxVoiceClientFriendsObserver;
class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>, class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>,
...@@ -181,7 +180,6 @@ class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>, ...@@ -181,7 +180,6 @@ class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>,
//@{ //@{
virtual BOOL getVoiceEnabled(const LLUUID& id); // true if we've received data for this avatar virtual BOOL getVoiceEnabled(const LLUUID& id); // true if we've received data for this avatar
virtual std::string getDisplayName(const LLUUID& id); virtual std::string getDisplayName(const LLUUID& id);
virtual BOOL isOnlineSIP(const LLUUID &id);
virtual BOOL isParticipantAvatar(const LLUUID &id); virtual BOOL isParticipantAvatar(const LLUUID &id);
virtual BOOL getIsSpeaking(const LLUUID& id); virtual BOOL getIsSpeaking(const LLUUID& id);
virtual BOOL getIsModeratorMuted(const LLUUID& id); virtual BOOL getIsModeratorMuted(const LLUUID& id);
...@@ -488,14 +486,10 @@ class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>, ...@@ -488,14 +486,10 @@ class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>,
void participantRemovedEvent(std::string &sessionHandle, std::string &sessionGroupHandle, std::string &uriString, std::string &alias, std::string &nameString); void participantRemovedEvent(std::string &sessionHandle, std::string &sessionGroupHandle, std::string &uriString, std::string &alias, std::string &nameString);
void participantUpdatedEvent(std::string &sessionHandle, std::string &sessionGroupHandle, std::string &uriString, std::string &alias, bool isModeratorMuted, bool isSpeaking, int volume, F32 energy); void participantUpdatedEvent(std::string &sessionHandle, std::string &sessionGroupHandle, std::string &uriString, std::string &alias, bool isModeratorMuted, bool isSpeaking, int volume, F32 energy);
void auxAudioPropertiesEvent(F32 energy); void auxAudioPropertiesEvent(F32 energy);
void buddyPresenceEvent(std::string &uriString, std::string &alias, std::string &statusString, std::string &applicationString);
void messageEvent(std::string &sessionHandle, std::string &uriString, std::string &alias, std::string &messageHeader, std::string &messageBody, std::string &applicationString); void messageEvent(std::string &sessionHandle, std::string &uriString, std::string &alias, std::string &messageHeader, std::string &messageBody, std::string &applicationString);
void sessionNotificationEvent(std::string &sessionHandle, std::string &uriString, std::string &notificationType); void sessionNotificationEvent(std::string &sessionHandle, std::string &uriString, std::string &notificationType);
void subscriptionEvent(std::string &buddyURI, std::string &subscriptionHandle, std::string &alias, std::string &displayName, std::string &applicationString, std::string &subscriptionType);
void buddyListChanged();
void muteListChanged(); void muteListChanged();
void updateFriends(U32 mask);
///////////////////////////// /////////////////////////////
// Sending updates of current state // Sending updates of current state
...@@ -587,24 +581,6 @@ class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>, ...@@ -587,24 +581,6 @@ class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>,
typedef std::map<std::string, buddyListEntry*> buddyListMap; typedef std::map<std::string, buddyListEntry*> buddyListMap;
// This should be called when parsing a buddy list entry sent by SLVoice.
void processBuddyListEntry(const std::string &uri, const std::string &displayName);
buddyListEntry *addBuddy(const std::string &uri);
buddyListEntry *addBuddy(const std::string &uri, const std::string &displayName);
buddyListEntry *findBuddy(const std::string &uri);
buddyListEntry *findBuddy(const LLUUID &id);
buddyListEntry *findBuddyByDisplayName(const std::string &name);
void deleteBuddy(const std::string &uri);
void deleteAllBuddies(void);
void deleteAllBlockRules(void);
void addBlockRule(const std::string &blockMask, const std::string &presenceOnly);
void deleteAllAutoAcceptRules(void);
void addAutoAcceptRule(const std::string &autoAcceptMask, const std::string &autoAddAsBuddy);
void accountListBlockRulesResponse(int statusCode, const std::string &statusString);
void accountListAutoAcceptRulesResponse(int statusCode, const std::string &statusString);
///////////////////////////// /////////////////////////////
// session control messages // session control messages
...@@ -770,8 +746,7 @@ class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>, ...@@ -770,8 +746,7 @@ class LLVivoxVoiceClient : public LLSingleton<LLVivoxVoiceClient>,
void buildSetCaptureDevice(std::ostringstream &stream); void buildSetCaptureDevice(std::ostringstream &stream);
void buildSetRenderDevice(std::ostringstream &stream); void buildSetRenderDevice(std::ostringstream &stream);
void clearAllLists();
void checkFriend(const LLUUID& id);
void sendFriendsListUpdates(); void sendFriendsListUpdates();
// start a text IM session with the specified user // start a text IM session with the specified user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment