#include "llviewerprecompiledheaders.h"
#include "llimpanel.h"
#include "indra_constants.h"
#include "llfocusmgr.h"
#include "llfontgl.h"
#include "llrect.h"
#include "llerror.h"
#include "llstring.h"
#include "message.h"
#include "lltextbox.h"
#include "llagent.h"
#include "llbutton.h"
#include "llcallingcard.h"
#include "llchat.h"
#include "llconsole.h"
#include "llfloater.h"
#include "llfloatergroupinfo.h"
#include "llimview.h"
#include "llinventory.h"
#include "llinventorymodel.h"
#include "llinventoryview.h"
#include "llfloateractivespeakers.h"
#include "llfloateravatarinfo.h"
#include "llfloaterchat.h"
#include "llkeyboard.h"
#include "lllineeditor.h"
#include "llnotify.h"
#include "llresmgr.h"
#include "lltabcontainer.h"
#include "llviewertexteditor.h"
#include "llviewermessage.h"
#include "llviewerstats.h"
#include "llviewercontrol.h"
#include "lluictrlfactory.h"
#include "llviewerwindow.h"
#include "lllogchat.h"
#include "llfloaterhtml.h"
#include "llweb.h"
#include "llhttpclient.h"
#include "llmutelist.h"
#include "llstylemap.h"
Go to the source code of this file.
Classes | |
class | LLStartConferenceChatResponder |
class | LLVoiceCallCapResponder |
class | LLSessionInviteResponder |
Functions | |
void | session_starter_helper (const LLUUID &temp_session_id, const LLUUID &other_participant_id, EInstantMessage im_type) |
void | start_deprecated_conference_chat (const LLUUID &temp_session_id, const LLUUID &creator_id, const LLUUID &other_participant_id, const LLSD &agents_to_invite) |
bool | send_start_session_messages (const LLUUID &temp_session_id, const LLUUID &other_participant_id, const LLDynamicArray< LLUUID > &ids, EInstantMessage dialog) |
void | deliver_message (const std::string &utf8_text, const LLUUID &im_session_id, const LLUUID &other_participant_id, EInstantMessage dialog) |
Variables | |
const S32 | LINE_HEIGHT = 16 |
const S32 | MIN_WIDTH = 200 |
const S32 | MIN_HEIGHT = 130 |
const U32 | DEFAULT_RETRIES_COUNT = 3 |
static LLString | sTitleString = "Instant Message with [NAME]" |
static LLString | sTypingStartString = "[NAME]: ..." |
static LLString | sSessionStartString = "Starting session with [NAME] please wait." |
Copyright (c) 2001-2008, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llimpanel.cpp.
void deliver_message | ( | const std::string & | utf8_text, | |
const LLUUID & | im_session_id, | |||
const LLUUID & | other_participant_id, | |||
EInstantMessage | dialog | |||
) |
Definition at line 1824 of file llimpanel.cpp.
References LLMuteList::AR_IM, LLMuteList::autoRemove(), LLAgent::buildFullname(), FALSE, gAgent, LLAvatarTracker::getBuddyInfo(), LLAgent::getID(), LLMuteList::getInstance(), LLAgent::getSessionID(), gMessageSystem, IM_NOTHING_SPECIAL, IM_OFFLINE, IM_ONLINE, IM_SESSION_SEND, LLAvatarTracker::instance(), LLRelationship::isOnline(), NULL, pack_instant_message(), and LLAgent::sendReliableMessage().
Referenced by LLFloaterIMPanel::sendMsg(), and LLFloaterIMPanel::sessionInitReplyReceived().
bool send_start_session_messages | ( | const LLUUID & | temp_session_id, | |
const LLUUID & | other_participant_id, | |||
const LLDynamicArray< LLUUID > & | ids, | |||
EInstantMessage | dialog | |||
) |
Definition at line 215 of file llimpanel.cpp.
References _PREHASH_BinaryBucket, LLMessageSystem::addBinaryDataFast(), LLSD::append(), EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE, gAgent, LLDynamicArray< Type, BlockSize >::get(), LLViewerRegion::getCapability(), LLAgent::getID(), LLAgent::getRegion(), gMessageSystem, i, IM_SESSION_CONFERENCE_START, IM_SESSION_GROUP_START, LLHTTPClient::post(), S32, LLAgent::sendReliableMessage(), session_starter_helper(), and start_deprecated_conference_chat().
Referenced by LLFloaterIMPanel::init().
void session_starter_helper | ( | const LLUUID & | temp_session_id, | |
const LLUUID & | other_participant_id, | |||
EInstantMessage | im_type | |||
) |
Definition at line 100 of file llimpanel.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Dialog, _PREHASH_FromAgentName, _PREHASH_FromGroup, _PREHASH_ID, _PREHASH_ImprovedInstantMessage, _PREHASH_Message, _PREHASH_MessageBlock, _PREHASH_Offline, _PREHASH_ParentEstateID, _PREHASH_Position, _PREHASH_RegionID, _PREHASH_SessionID, _PREHASH_Timestamp, _PREHASH_ToAgentID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), LLAgent::buildFullname(), FALSE, gAgent, LLAgent::getID(), LLAgent::getPositionAgent(), LLAgent::getSessionID(), gMessageSystem, IM_ONLINE, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NO_TIMESTAMP, LLUUID::null, and LLStringBase< char >::null.
Referenced by send_start_session_messages(), and start_deprecated_conference_chat().
void start_deprecated_conference_chat | ( | const LLUUID & | temp_session_id, | |
const LLUUID & | creator_id, | |||
const LLUUID & | other_participant_id, | |||
const LLSD & | agents_to_invite | |||
) |
Definition at line 130 of file llimpanel.cpp.
References _PREHASH_BinaryBucket, LLMessageSystem::addBinaryDataFast(), LLSD::asUUID(), gAgent, gMessageSystem, i, IM_SESSION_CONFERENCE_START, S32, LLAgent::sendReliableMessage(), session_starter_helper(), LLSD::size(), and UUID_BYTES.
Referenced by LLStartConferenceChatResponder::error(), and send_start_session_messages().
const U32 DEFAULT_RETRIES_COUNT = 3 |
Definition at line 83 of file llimpanel.cpp.
Referenced by LLVoiceChannelGroup::handleError(), and LLVoiceChannelGroup::LLVoiceChannelGroup().
const S32 LINE_HEIGHT = 16 |
Definition at line 80 of file llimpanel.cpp.
const S32 MIN_HEIGHT = 130 |
Definition at line 82 of file llimpanel.cpp.
Definition at line 81 of file llimpanel.cpp.
LLString sSessionStartString = "Starting session with [NAME] please wait." [static] |
Definition at line 91 of file llimpanel.cpp.
LLString sTitleString = "Instant Message with [NAME]" [static] |
Definition at line 89 of file llimpanel.cpp.
LLString sTypingStartString = "[NAME]: ..." [static] |
Definition at line 90 of file llimpanel.cpp.