diff options
author | Monroe Williams <monroe@lindenlab.com> | 2009-03-19 19:18:07 +0000 |
---|---|---|
committer | Monroe Williams <monroe@lindenlab.com> | 2009-03-19 19:18:07 +0000 |
commit | 5dfd435872e36445dcc82f99443dfc5a7ee0805a (patch) | |
tree | 09c2c5697c88ebc3fff3be1e15de4a294d1acad1 /indra/newview/llvoiceclient.h | |
parent | 733f7d212ff7e1befcdbcecca1e94e2ce9e0412a (diff) |
svn merge -r 114639:114640 svn+ssh://svn.lindenlab.com/svn/linden/branches/qar-1361
Merging in QAR-1361.
Diffstat (limited to 'indra/newview/llvoiceclient.h')
-rw-r--r-- | indra/newview/llvoiceclient.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.h b/indra/newview/llvoiceclient.h index 43bbc8e29c..cfc336b27d 100644 --- a/indra/newview/llvoiceclient.h +++ b/indra/newview/llvoiceclient.h @@ -255,6 +255,7 @@ static void updatePosition(void); participantState(const std::string &uri); bool updateMuteState(); + bool isAvatar(); std::string mURI; LLUUID mAvatarID; @@ -301,6 +302,9 @@ static void updatePosition(void); participantState *findParticipant(const std::string &uri); participantState *findParticipantByID(const LLUUID& id); + bool isCallBackPossible(); + bool isTextIMPossible(); + std::string mHandle; std::string mGroupHandle; std::string mSIPURI; @@ -434,6 +438,7 @@ static void updatePosition(void); void sessionMediaConnectSendMessage(sessionState *session); // just joins the audio session void sessionTextConnectSendMessage(sessionState *session); // just joins the text session void sessionTerminateSendMessage(sessionState *session); + void sessionGroupTerminateSendMessage(sessionState *session); void sessionMediaDisconnectSendMessage(sessionState *session); void sessionTextDisconnectSendMessage(sessionState *session); @@ -496,6 +501,21 @@ static void updatePosition(void); // Returns true if the indicated user is online via SIP presence according to SLVoice. // Note that we only get SIP presence data for other users that are in our vivox buddy list. bool isOnlineSIP(const LLUUID &id); + + // Returns true if the indicated participant is really an SL avatar. + // This should be used to control the state of the "profile" button. + // Currently this will be false only for PSTN callers into group chats, and PSTN p2p calls. + bool isParticipantAvatar(const LLUUID &id); + + // Returns true if calling back the session URI after the session has closed is possible. + // Currently this will be false only for PSTN P2P calls. + // NOTE: this will return true if the session can't be found. + bool isSessionCallBackPossible(const LLUUID &session_id); + + // Returns true if the session can accepte text IM's. + // Currently this will be false only for PSTN P2P calls. + // NOTE: this will return true if the session can't be found. + bool isSessionTextIMPossible(const LLUUID &session_id); private: |