#include "llviewerprecompiledheaders.h"
#include <utility>
#include "llinventoryview.h"
#include "llpanelinventory.h"
#include "llinventorybridge.h"
#include "message.h"
#include "llagent.h"
#include "llcallingcard.h"
#include "llcheckboxctrl.h"
#include "llradiogroup.h"
#include "llspinctrl.h"
#include "lltextbox.h"
#include "llui.h"
#include "llviewercontrol.h"
#include "llfirstuse.h"
#include "llfloateravatarinfo.h"
#include "llfloaterchat.h"
#include "llfloatercustomize.h"
#include "llfloaterproperties.h"
#include "llfocusmgr.h"
#include "llfolderview.h"
#include "llgesturemgr.h"
#include "lliconctrl.h"
#include "llinventorymodel.h"
#include "llinventoryclipboard.h"
#include "lllineeditor.h"
#include "llmenugl.h"
#include "llpreviewanim.h"
#include "llpreviewgesture.h"
#include "llpreviewlandmark.h"
#include "llpreviewnotecard.h"
#include "llpreviewscript.h"
#include "llpreviewsound.h"
#include "llpreviewtexture.h"
#include "llresmgr.h"
#include "llscrollcontainer.h"
#include "llimview.h"
#include "lltooldraganddrop.h"
#include "llviewerimagelist.h"
#include "llviewerinventory.h"
#include "llviewerobjectlist.h"
#include "llviewerwindow.h"
#include "llwearable.h"
#include "llwearablelist.h"
#include "llviewermessage.h"
#include "llviewerregion.h"
#include "lltabcontainer.h"
#include "lluictrlfactory.h"
#include "llselectmgr.h"
Go to the source code of this file.
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 llinventoryactions.cpp.
Definition at line 92 of file llinventoryactions.cpp.
Definition at line 93 of file llinventoryactions.cpp.
Definition at line 91 of file llinventoryactions.cpp.
void do_create | ( | LLInventoryModel * | model, | |
LLInventoryPanel * | ptr, | |||
LLString | type, | |||
LLFolderBridge * | self = NULL | |||
) |
Definition at line 329 of file llinventoryactions.cpp.
References LLAssetType::AT_BODYPART, LLAssetType::AT_CLOTHING, LLAssetType::AT_GESTURE, LLAssetType::AT_LSL_TEXT, LLAssetType::AT_NONE, LLAssetType::AT_NOTECARD, LLInventoryModel::createNewCategory(), LLInventoryPanel::createNewItem(), LLFolderBridge::createWearable(), LLInventoryModel::findCategoryUUIDForType(), gAgent, LLAgent::getInventoryRootID(), LLInventoryPanel::getRootFolder(), gInventory, LLInventoryType::IT_GESTURE, LLInventoryType::IT_LSL, LLInventoryType::IT_NOTECARD, NEW_GESTURE_NAME, NEW_LSL_NAME, NEW_NOTECARD_NAME, LLInventoryModel::notifyObservers(), NULL, PERM_ALL, PERM_MOVE, PERM_TRANSFER, LLFolderView::setNeedsAutoRename(), LLInventoryPanel::setSelection(), TRUE, WT_EYES, WT_GLOVES, WT_HAIR, WT_JACKET, WT_PANTS, WT_SHAPE, WT_SHIRT, WT_SHOES, WT_SKIN, WT_SKIRT, WT_SOCKS, WT_UNDERPANTS, and WT_UNDERSHIRT.
Referenced by LLDoCreateFloater::handleEvent(), and LLDoCreate::handleEvent().
bool doToSelected | ( | LLFolderView * | folder, | |
LLString | action | |||
) |
Definition at line 95 of file llinventoryactions.cpp.
References LLView::addChild(), LLFolderView::getItemByID(), LLFolderViewItem::getListener(), LLFloaterView::getNewFloaterPosition(), LLFolderView::getSelectionList(), gFloaterView, gInventory, LLInventoryClipboard::instance(), NULL, LLMultiFloater::open(), LLMultiPreview::open(), LLFolderViewEventListener::performAction(), LLFolderView::removeSelectedItems(), LLInventoryClipboard::reset(), S32, LLFloater::setFloaterHost(), and LLFolderView::startRenamingSelectedItem().
Referenced by LLDoToSelected::handleEvent(), LLDoToSelectedFloater::handleEvent(), and LLDoToSelectedPanel::handleEvent().
void init_inventory_actions | ( | LLInventoryView * | floater | ) |
---------------------------------------------------------------------------- Function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------
Definition at line 704 of file llinventoryactions.cpp.
Referenced by LLInventoryView::init().
void init_inventory_panel_actions | ( | LLInventoryPanel * | panel | ) |
Definition at line 717 of file llinventoryactions.cpp.
Referenced by LLInventoryPanel::postBuild().
void init_object_inventory_panel_actions | ( | LLPanelInventory * | panel | ) |
Definition at line 699 of file llinventoryactions.cpp.
Referenced by LLPanelInventory::LLPanelInventory().
void rez_attachment | ( | LLViewerInventoryItem * | item, | |
LLViewerJointAttachment * | attachment | |||
) |
Definition at line 3271 of file llinventorybridge.cpp.
References LLViewerWindow::alertXml(), confirm_replace_attachment_rez(), gAgent, LLAgent::getAvatarObject(), LLViewerJointAttachment::getObject(), LLInventoryObject::getUUID(), gViewerWindow, LLVOAvatar::mAttachmentPoints, LLAttachmentRezAction::mAttachPt, LLAttachmentRezAction::mItemID, and S32.
Referenced by LLToolDragAndDrop::dad3dRezAttachmentFromInv(), RezAttachmentCallback::fire(), LLAttachObject::handleEvent(), and LLObjectBridge::performAction().
const char* NEW_GESTURE_NAME = "New Gesture" |
const char* NEW_LSL_NAME = "New Script" |
const char* NEW_NOTECARD_NAME = "New Note" |