This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef U32 | PermissionMask |
typedef U32 | PermissionBit |
Variables | |
const PermissionBit | PERM_TRANSFER = (1 << 13) |
const PermissionBit | PERM_MODIFY = (1 << 14) |
const PermissionBit | PERM_COPY = (1 << 15) |
const PermissionBit | PERM_MOVE = (1 << 19) |
const PermissionBit | PERM_RESERVED = ((U32)1) << 31 |
const PermissionMask | PERM_NONE = 0x00000000 |
const PermissionMask | PERM_ALL = 0x7FFFFFFF |
const PermissionMask | PERM_ITEM_UNRESTRICTED = PERM_MODIFY | PERM_COPY | PERM_TRANSFER |
const U8 | PERM_BASE = 0x01 |
const U8 | PERM_OWNER = 0x02 |
const U8 | PERM_GROUP = 0x04 |
const U8 | PERM_EVERYONE = 0x08 |
const U8 | PERM_NEXT_OWNER = 0x10 |
Copyright (c) 2002-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 llpermissionsflags.h.
typedef U32 PermissionBit |
Definition at line 42 of file llpermissionsflags.h.
typedef U32 PermissionMask |
Definition at line 41 of file llpermissionsflags.h.
const PermissionMask PERM_ALL = 0x7FFFFFFF |
Definition at line 77 of file llpermissionsflags.h.
Referenced by create_new_landmark(), create_random_inventory_item(), LLWearableList::createNewWearable(), do_create(), LLInvFVBridge::getPermissionMask(), handle_grab_texture(), handle_object_owner_permissive(), LLWorldCreateLandmark::handleEvent(), LLPermissions::init(), LLLiveLSLEditor::loadAsset(), LLFloaterLandmark::onBtnNew(), LLPanelContents::onClickNewScript(), LLWearable::removeFromAvatar(), LLSnapshotLivePreview::saveTexture(), and LLNewAgentInventoryResponder::uploadComplete().
Definition at line 84 of file llpermissionsflags.h.
Referenced by handle_object_owner_permissive(), LLPanelPermissions::refresh(), and LLSelectMgr::selectGetPerm().
const PermissionBit PERM_COPY = (1 << 15) |
Definition at line 55 of file llpermissionsflags.h.
Referenced by LLAggregatePermissions::aggregate(), LLPermissions::allowCopyBy(), LLTextureCtrl::allowDrop(), LLSelectNode::allowOperationOnNode(), LLTaskInvFVBridge::buyItem(), LLVOAvatar::canGrabLocalTexture(), create_random_inventory_item(), enable_buy(), LLPermissions::fix(), LLPermissions::fixFairUse(), LLInventoryItem::fromLLSD(), LLTaskInvFVBridge::getDisplayName(), LLItemBridge::getPermissionMask(), LLPanelFace::getState(), LLFloaterTexturePicker::handleDragAndDrop(), LLFloaterLandmark::handleDragAndDrop(), LLToolDragAndDrop::handleDropTextureProtections(), LLWearable::importFile(), LLInventoryItem::importFile(), LLInventoryItem::importLegacyStream(), LLFloaterBuyContents::inventoryChanged(), LLFloaterBuy::inventoryChanged(), LLTaskInvFVBridge::isItemCopyable(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), mask_to_string(), LLPanelPermissions::onCommitEveryoneCopy(), LLPanelPermissions::onCommitGroupShare(), LLPanelPermissions::onCommitNextOwnerCopy(), LLFloaterProperties::onCommitPermissions(), SetNotForSale::operator()(), LLAggregatePermissions::perm2PermIndex(), LLPanelObject::postBuild(), LLPanelFace::postBuild(), LLPanelLandMedia::postBuild(), LLPanelLandOptions::postBuild(), LLSelectMgr::processObjectProperties(), LLPanelPermissions::refresh(), LLFloaterProperties::refreshFromItem(), LLSelectMgr::selectionSetImage(), LLPermissions::setNextOwnerBits(), LLPermissions::setOwnerAndGroup(), LLPanelEditWearable::setUIPermissions(), LLFloaterBuy::show(), LLTaskCategoryBridge::startDrag(), LLTaskInvFVBridge::startDrag(), LLFloaterProperties::updateSaleInfo(), and LLHoverView::updateText().
const U8 PERM_EVERYONE = 0x08 |
Definition at line 88 of file llpermissionsflags.h.
Referenced by LLPanelPermissions::onCommitEveryoneCopy(), LLPanelPermissions::onCommitEveryoneMove(), LLPanelPermissions::refresh(), and LLSelectMgr::selectGetPerm().
const U8 PERM_GROUP = 0x04 |
Definition at line 87 of file llpermissionsflags.h.
Referenced by LLPanelPermissions::onCommitGroupShare(), LLPanelPermissions::refresh(), and LLSelectMgr::selectGetPerm().
Definition at line 79 of file llpermissionsflags.h.
Referenced by LLPreviewGesture::addAnimations(), LLPreviewGesture::addSounds(), LLInventoryItem::asLLSD(), LLInventoryItem::exportFile(), LLInventoryItem::exportFileXML(), LLInventoryItem::exportLegacyStream(), LLViewerTextEditor::handleDragAndDrop(), LLPreviewGesture::handleDragAndDrop(), LLItemBridge::isItemPermissive(), LLPreviewTexture::LLPreviewTexture(), and LLToolDragAndDrop::willObjectAcceptInventory().
const PermissionBit PERM_MODIFY = (1 << 14) |
Definition at line 52 of file llpermissionsflags.h.
Referenced by LLAggregatePermissions::aggregate(), LLTextureCtrl::allowDrop(), LLPermissions::allowModifyBy(), LLSelectNode::allowOperationOnNode(), LLTaskInvFVBridge::buyItem(), LLVOAvatar::canGrabLocalTexture(), create_random_inventory_item(), LLPermissions::fix(), LLTaskInvFVBridge::getDisplayName(), LLItemBridge::getPermissionMask(), handle_object_lock(), LLFloaterTexturePicker::handleDragAndDrop(), LLFloaterLandmark::handleDragAndDrop(), LLFloaterBuyContents::inventoryChanged(), LLFloaterBuy::inventoryChanged(), LLTaskInvFVBridge::isItemRenameable(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), mask_to_string(), LLFloaterProperties::onCommitDescription(), LLPanelPermissions::onCommitGroupShare(), LLPanelObject::onCommitLock(), LLFloaterProperties::onCommitName(), LLPanelPermissions::onCommitNextOwnerModify(), LLFloaterProperties::onCommitPermissions(), LLPreviewLSL::onLoadComplete(), LLPreviewNotecard::onLoadComplete(), SetNotForSale::operator()(), LLAggregatePermissions::perm2PermIndex(), LLPanelPermissions::refresh(), LLFloaterProperties::refreshFromItem(), LLTaskInvFVBridge::renameItem(), LLPanelEditWearable::setSubpart(), LLPanelEditWearable::setUIPermissions(), LLFloaterCustomize::setWearable(), LLFloaterBuy::show(), LLFloaterCustomize::updateInventoryUI(), and LLFloaterCustomize::updateScrollingPanelUI().
const PermissionBit PERM_MOVE = (1 << 19) |
Definition at line 68 of file llpermissionsflags.h.
Referenced by LLPermissions::allowMoveBy(), LLSelectNode::allowOperationOnNode(), LLWearableList::createLegacyWearableFromAvatar(), LLInventoryPanel::createNewItem(), LLWearableList::createNewWearable(), LLPermissions::deedToGroup(), do_create(), LLPermissions::fixFairUse(), LLPanelObject::getState(), handle_grab_texture(), LLLiveLSLEditor::loadAsset(), mask_to_string(), LLFloaterGesture::onClickNew(), LLPanelContents::onClickNewScript(), LLPanelPermissions::onCommitEveryoneMove(), LLPanelPermissions::onCommitGroupShare(), LLPanelObject::onCommitLock(), LLFloaterProperties::onCommitPermissions(), SetNotForSale::operator()(), LLPanelPermissions::refresh(), LLFloaterProperties::refreshFromItem(), LLPermissions::setOwnerAndGroup(), upload_done_callback(), and LLNewAgentInventoryResponder::uploadComplete().
const U8 PERM_NEXT_OWNER = 0x10 |
Definition at line 89 of file llpermissionsflags.h.
Referenced by LLPanelPermissions::onCommitNextOwnerCopy(), LLPanelPermissions::onCommitNextOwnerModify(), LLPanelPermissions::onCommitNextOwnerTransfer(), LLPanelPermissions::refresh(), and LLSelectMgr::selectGetPerm().
const PermissionMask PERM_NONE = 0x00000000 |
Definition at line 76 of file llpermissionsflags.h.
Referenced by LLPanelEditWearable::addTextureDropTarget(), LLFloaterImport::asset_uploaded_callback(), LLWearableList::createLegacyWearableFromAvatar(), LLWearableList::createNewWearable(), LLPermissions::deedToGroup(), LLPermissions::fixFairUse(), LLInventoryItem::fromLLSD(), LLTaskInvFVBridge::getPermissionMask(), LLNetwork2080Bridge::getPermissionMask(), LLAgent::getWearablePermMask(), handle_grab_texture(), LLInventoryItem::importFile(), LLInventoryItem::importLegacyStream(), LLInventoryFilter::isActive(), LLInventoryFilter::LLInventoryFilter(), LLPreviewTexture::LLPreviewTexture(), LLLiveLSLEditor::loadAsset(), LLInventoryModel::loadMeat(), LLFloaterImport::onBtnOK(), LLFloaterAnimPreview::onBtnOK(), LLPanelContents::onClickNewScript(), SetItemOwnerAndGroup::operator()(), LLPanelObject::postBuild(), LLPanelFace::postBuild(), LLPermissions::setOwnerAndGroup(), upload_done_callback(), LLNewAgentInventoryResponder::uploadComplete(), and LLWearable::writeToAvatar().
const U8 PERM_OWNER = 0x02 |
Definition at line 86 of file llpermissionsflags.h.
Referenced by LLAgent::allowOperation(), LLSelectNode::allowOperationOnNode(), LLTaskInvFVBridge::buildContextMenu(), derez_objects(), LLPanelObject::getState(), handle_object_lock(), handle_object_owner_permissive(), LLPanelObject::onCommitLock(), LLPanelPermissions::refresh(), LLFloaterProperties::refreshFromItem(), and LLSelectMgr::selectGetPerm().
const PermissionBit PERM_RESERVED = ((U32)1) << 31 |
Definition at line 74 of file llpermissionsflags.h.
const PermissionBit PERM_TRANSFER = (1 << 13) |
Definition at line 48 of file llpermissionsflags.h.
Referenced by LLAggregatePermissions::aggregate(), LLTextureCtrl::allowDrop(), LLSelectNode::allowOperationOnNode(), LLPermissions::allowTransferTo(), LLTaskInvFVBridge::buyItem(), LLVOAvatar::canGrabLocalTexture(), LLWearableList::createLegacyWearableFromAvatar(), LLInventoryPanel::createNewItem(), LLWearableList::createNewWearable(), LLToolDragAndDrop::dad3dGiveInventoryObject(), LLPermissions::deedToGroup(), do_create(), LLCallingCardBridge::dragOrDrop(), enable_buy(), LLPermissions::fix(), LLPermissions::fixFairUse(), LLInventoryItem::fromLLSD(), LLTaskInvFVBridge::getDisplayName(), LLItemBridge::getLabelSuffix(), LLItemBridge::getPermissionMask(), LLPanelFace::getState(), handle_grab_texture(), LLFloaterTexturePicker::handleDragAndDrop(), LLFloaterLandmark::handleDragAndDrop(), LLToolDragAndDrop::handleDropTextureProtections(), LLWearable::importFile(), LLInventoryItem::importFile(), LLInventoryItem::importLegacyStream(), LLFloaterBuyContents::inventoryChanged(), LLFloaterBuy::inventoryChanged(), LLToolDragAndDrop::isInventoryGiveAcceptable(), LLToolDragAndDrop::isInventoryGroupGiveAcceptable(), LLLiveLSLEditor::loadAsset(), mask_to_string(), LLFloaterGesture::onClickNew(), LLPanelContents::onClickNewScript(), LLPanelPermissions::onCommitNextOwnerTransfer(), LLFloaterProperties::onCommitPermissions(), LLGiveable::operator()(), LLDroppableItem::operator()(), LLAggregatePermissions::perm2PermIndex(), LLPanelObject::postBuild(), LLPanelFace::postBuild(), LLPanelLandMedia::postBuild(), LLPanelLandOptions::postBuild(), LLSelectMgr::processObjectProperties(), LLPanelPermissions::refresh(), LLFloaterProperties::refreshFromItem(), LLPermissions::setNextOwnerBits(), LLPermissions::setOwnerAndGroup(), LLFloaterBuy::show(), LLFloaterProperties::updateSaleInfo(), LLHoverView::updateText(), upload_done_callback(), LLNewAgentInventoryResponder::uploadComplete(), and LLToolDragAndDrop::willObjectAcceptInventory().