diff options
author | Jacek Antonelli | 2009-11-19 04:19:06 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-11-19 04:19:06 -0600 |
commit | 1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427 (patch) | |
tree | e09ccbc010e326a48fd91ba15b58afd7fb836b3f /linden/indra/newview/llvoiceclient.h | |
parent | Fixed minor formatting issue in MANIFESTO.txt. (diff) | |
parent | Fixed CMake setting errors (diff) | |
download | meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.zip meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.gz meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.bz2 meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.xz |
Merge remote branch 'mccabe/1.3.0-next' into next
Conflicts:
linden/indra/cmake/00-Common.cmake
linden/indra/newview/skins/default/xui/de/floater_about.xml
linden/indra/newview/skins/default/xui/fr/floater_about.xml
linden/indra/newview/skins/default/xui/ja/floater_about.xml
linden/indra/newview/skins/default/xui/ko/floater_about.xml
linden/indra/newview/skins/default/xui/zh/floater_about.xml
linden/install.xml
Diffstat (limited to 'linden/indra/newview/llvoiceclient.h')
-rw-r--r-- | linden/indra/newview/llvoiceclient.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoiceclient.h b/linden/indra/newview/llvoiceclient.h index 13dd974..cfc336b 100644 --- a/linden/indra/newview/llvoiceclient.h +++ b/linden/indra/newview/llvoiceclient.h | |||
@@ -17,7 +17,8 @@ | |||
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | 22 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -254,6 +255,7 @@ static void updatePosition(void); | |||
254 | participantState(const std::string &uri); | 255 | participantState(const std::string &uri); |
255 | 256 | ||
256 | bool updateMuteState(); | 257 | bool updateMuteState(); |
258 | bool isAvatar(); | ||
257 | 259 | ||
258 | std::string mURI; | 260 | std::string mURI; |
259 | LLUUID mAvatarID; | 261 | LLUUID mAvatarID; |
@@ -300,6 +302,9 @@ static void updatePosition(void); | |||
300 | participantState *findParticipant(const std::string &uri); | 302 | participantState *findParticipant(const std::string &uri); |
301 | participantState *findParticipantByID(const LLUUID& id); | 303 | participantState *findParticipantByID(const LLUUID& id); |
302 | 304 | ||
305 | bool isCallBackPossible(); | ||
306 | bool isTextIMPossible(); | ||
307 | |||
303 | std::string mHandle; | 308 | std::string mHandle; |
304 | std::string mGroupHandle; | 309 | std::string mGroupHandle; |
305 | std::string mSIPURI; | 310 | std::string mSIPURI; |
@@ -433,6 +438,7 @@ static void updatePosition(void); | |||
433 | void sessionMediaConnectSendMessage(sessionState *session); // just joins the audio session | 438 | void sessionMediaConnectSendMessage(sessionState *session); // just joins the audio session |
434 | void sessionTextConnectSendMessage(sessionState *session); // just joins the text session | 439 | void sessionTextConnectSendMessage(sessionState *session); // just joins the text session |
435 | void sessionTerminateSendMessage(sessionState *session); | 440 | void sessionTerminateSendMessage(sessionState *session); |
441 | void sessionGroupTerminateSendMessage(sessionState *session); | ||
436 | void sessionMediaDisconnectSendMessage(sessionState *session); | 442 | void sessionMediaDisconnectSendMessage(sessionState *session); |
437 | void sessionTextDisconnectSendMessage(sessionState *session); | 443 | void sessionTextDisconnectSendMessage(sessionState *session); |
438 | 444 | ||
@@ -495,6 +501,21 @@ static void updatePosition(void); | |||
495 | // Returns true if the indicated user is online via SIP presence according to SLVoice. | 501 | // Returns true if the indicated user is online via SIP presence according to SLVoice. |
496 | // Note that we only get SIP presence data for other users that are in our vivox buddy list. | 502 | // Note that we only get SIP presence data for other users that are in our vivox buddy list. |
497 | bool isOnlineSIP(const LLUUID &id); | 503 | bool isOnlineSIP(const LLUUID &id); |
504 | |||
505 | // Returns true if the indicated participant is really an SL avatar. | ||
506 | // This should be used to control the state of the "profile" button. | ||
507 | // Currently this will be false only for PSTN callers into group chats, and PSTN p2p calls. | ||
508 | bool isParticipantAvatar(const LLUUID &id); | ||
509 | |||
510 | // Returns true if calling back the session URI after the session has closed is possible. | ||
511 | // Currently this will be false only for PSTN P2P calls. | ||
512 | // NOTE: this will return true if the session can't be found. | ||
513 | bool isSessionCallBackPossible(const LLUUID &session_id); | ||
514 | |||
515 | // Returns true if the session can accepte text IM's. | ||
516 | // Currently this will be false only for PSTN P2P calls. | ||
517 | // NOTE: this will return true if the session can't be found. | ||
518 | bool isSessionTextIMPossible(const LLUUID &session_id); | ||
498 | 519 | ||
499 | private: | 520 | private: |
500 | 521 | ||