lltooldraganddrop.cpp File Reference

LLToolDragAndDrop class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "message.h"
#include "lltooldraganddrop.h"
#include "llinstantmessage.h"
#include "lldir.h"
#include "llagent.h"
#include "llviewercontrol.h"
#include "llfirstuse.h"
#include "llfloater.h"
#include "llfloatertools.h"
#include "llgesturemgr.h"
#include "llhudeffecttrail.h"
#include "llhudmanager.h"
#include "llinventorymodel.h"
#include "llinventoryview.h"
#include "llnotify.h"
#include "llpreviewnotecard.h"
#include "llselectmgr.h"
#include "lltoolmgr.h"
#include "llui.h"
#include "llviewerimagelist.h"
#include "llviewerinventory.h"
#include "llviewerobject.h"
#include "llviewerobjectlist.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llviewerwindow.h"
#include "llvoavatar.h"
#include "llvolume.h"
#include "llworld.h"
#include "object_flags.h"
#include "viewer.h"

Include dependency graph for lltooldraganddrop.cpp:

Go to the source code of this file.

Classes

class  LLNoPreferredType
class  LLNoPreferredTypeOrItem
class  LLDroppableItem
class  LLUncopyableItems
class  LLDropCopyableItems
class  LLGiveable
class  LLCategoryFireAndForget
class  LLCategoryDropObserver
class  LLCategoryDropDescendentsObserver
struct  LLGiveInventoryInfo

Defines

#define callMemberFunction(object, ptrToMember)   ((object).*(ptrToMember))

Functions

void pack_permissions_slam (LLMessageSystem *msg, U32 flags, const LLPermissions &perms)

Variables

LLToolDragAndDropgToolDragAndDrop = NULL
const S32 MAX_ITEMS = 42
const char * FOLDER_INCLUDES_ATTACHMENTS_BEING_WORN


Detailed Description

LLToolDragAndDrop class implementation.

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 lltooldraganddrop.cpp.


Define Documentation

#define callMemberFunction ( object,
ptrToMember   )     ((object).*(ptrToMember))

Definition at line 80 of file lltooldraganddrop.cpp.

Referenced by LLToolDragAndDrop::pickCallback().


Function Documentation

void pack_permissions_slam ( LLMessageSystem msg,
U32  flags,
const LLPermissions perms 
)

Definition at line 3003 of file lltooldraganddrop.cpp.

References _PREHASH_EveryoneMask, _PREHASH_GroupMask, _PREHASH_ItemFlags, _PREHASH_NextOwnerMask, LLMessageSystem::addU32Fast(), LLPermissions::getMaskEveryone(), LLPermissions::getMaskGroup(), and LLPermissions::getMaskNextOwner().

Referenced by confirm_replace_attachment_rez(), LLToolDragAndDrop::dropObject(), and wear_inventory_category_on_avatar_step2().


Variable Documentation

const char* FOLDER_INCLUDES_ATTACHMENTS_BEING_WORN

Initial value:

 
                                "Cannot give folders that contain objects that are attached to you.\n"
                                "Detach the object(s) and then try again."

Definition at line 74 of file lltooldraganddrop.cpp.

LLToolDragAndDrop* gToolDragAndDrop = NULL

Definition at line 68 of file lltooldraganddrop.cpp.

Referenced by LLPanelInventory::clearContents(), LLFolderBridge::dragCategoryIntoFolder(), LLFolderBridge::dragItemIntoFolder(), LLTaskCategoryBridge::dragOrDrop(), LLFolderView::draw(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropScript(), LLViewerTextEditor::handleHover(), LLPreview::handleHover(), LLFolderViewItem::handleHover(), LLViewerTextEditor::handleMouseDown(), LLPreview::handleMouseDown(), LLFolderViewItem::handleMouseDown(), LLViewerWindow::handlePerFrameHover(), LLToolMgr::initTools(), LLToolDragAndDrop::pickCallback(), LLFolderView::startDrag(), and LLToolMgr::~LLToolMgr().

const S32 MAX_ITEMS = 42

Definition at line 73 of file lltooldraganddrop.cpp.

Referenced by LLToolDragAndDrop::commitGiveInventoryCategory(), and LLToolDragAndDrop::giveInventoryCategory().


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