llimpanel.cpp File Reference

LLIMPanel class definition. More...

#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 "llinventory.h"
#include "llinventorymodel.h"
#include "llinventoryview.h"
#include "llfloateravatarinfo.h"
#include "llfloaterchat.h"
#include "llkeyboard.h"
#include "lllineeditor.h"
#include "llresmgr.h"
#include "lltabcontainer.h"
#include "llimview.h"
#include "llviewertexteditor.h"
#include "llviewermessage.h"
#include "llviewerstats.h"
#include "viewer.h"
#include "llvieweruictrlfactory.h"
#include "lllogchat.h"
#include "llfloaterhtml.h"
#include "llweb.h"
#include "llhttpclient.h"
#include "llfloateractivespeakers.h"
#include "llfloatergroupinfo.h"
#include "llsdutil.h"
#include "llnotify.h"
#include "llmutelist.h"

Include dependency graph for llimpanel.cpp:

Go to the source code of this file.

Classes

class  LLVoiceCallCapResponder
class  LLSessionInviteResponder

Functions

void session_starter_helper (const LLUUID &temp_session_id, const LLUUID &other_participant_id, EInstantMessage im_type)
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."


Detailed Description

LLIMPanel class definition.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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.


Function Documentation

void deliver_message ( const std::string &  utf8_text,
const LLUUID im_session_id,
const LLUUID other_participant_id,
EInstantMessage  dialog 
)

Definition at line 1631 of file llimpanel.cpp.

References LLAgent::buildFullname(), FALSE, gAgent, LLAvatarTracker::getBuddyInfo(), LLAgent::getID(), 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 127 of file llimpanel.cpp.

References _PREHASH_BinaryBucket, LLMessageSystem::addBinaryDataFast(), count, EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE, gAgent, LLDynamicArray< Type, BlockSize >::get(), gMessageSystem, i, IM_SESSION_CONFERENCE_START, IM_SESSION_GROUP_START, S32, LLAgent::sendReliableMessage(), session_starter_helper(), and UUID_BYTES.

Referenced by LLFloaterIMPanel::init().

void session_starter_helper ( const LLUUID temp_session_id,
const LLUUID other_participant_id,
EInstantMessage  im_type 
)

Definition at line 96 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().


Variable Documentation

const U32 DEFAULT_RETRIES_COUNT = 3

Definition at line 82 of file llimpanel.cpp.

Referenced by LLVoiceChannelGroup::handleError(), and LLVoiceChannelGroup::LLVoiceChannelGroup().

const S32 LINE_HEIGHT = 16

Definition at line 79 of file llimpanel.cpp.

const S32 MIN_HEIGHT = 130

Definition at line 81 of file llimpanel.cpp.

const S32 MIN_WIDTH = 200

Definition at line 80 of file llimpanel.cpp.

LLString sSessionStartString = "Starting session with [NAME] please wait." [static]

Definition at line 90 of file llimpanel.cpp.

Referenced by LLFloaterIMPanel::init(), and LLFloaterIMPanel::postBuild().

LLString sTitleString = "Instant Message with [NAME]" [static]

Definition at line 88 of file llimpanel.cpp.

Referenced by LLFloaterIMPanel::postBuild().

LLString sTypingStartString = "[NAME]: ..." [static]

Definition at line 89 of file llimpanel.cpp.

Referenced by LLFloaterIMPanel::addTypingIndicator(), and LLFloaterIMPanel::postBuild().


Generated on Thu Jul 1 06:10:29 2010 for Second Life Viewer by  doxygen 1.4.7