roles_constants.h File Reference

General Roles Constants. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  LLRoleMemberChangeType { RMC_ADD, RMC_REMOVE, RMC_NONE }
enum  LLRoleChangeType {
  RC_UPDATE_NONE, RC_UPDATE_DATA, RC_UPDATE_POWERS, RC_UPDATE_ALL,
  RC_CREATE, RC_DELETE
}

Variables

const S32 MAX_ROLES = 10
const U64 GP_NO_POWERS = 0x0
const U64 GP_ALL_POWERS = 0xFFFFFFFFFFFFFFFFLL
const U64 GP_MEMBER_INVITE = 0x1 << 1
const U64 GP_MEMBER_EJECT = 0x1 << 2
const U64 GP_MEMBER_OPTIONS = 0x1 << 3
const U64 GP_MEMBER_VISIBLE_IN_DIR = 0x1LL << 47
const U64 GP_ROLE_CREATE = 0x1 << 4
const U64 GP_ROLE_DELETE = 0x1 << 5
const U64 GP_ROLE_PROPERTIES = 0x1 << 6
const U64 GP_ROLE_ASSIGN_MEMBER_LIMITED = 0x1 << 7
const U64 GP_ROLE_ASSIGN_MEMBER = 0x1 << 8
const U64 GP_ROLE_REMOVE_MEMBER = 0x1 << 9
const U64 GP_ROLE_CHANGE_ACTIONS = 0x1 << 10
const U64 GP_GROUP_CHANGE_IDENTITY = 0x1 << 11
const U64 GP_LAND_DEED = 0x1 << 12
const U64 GP_LAND_RELEASE = 0x1 << 13
const U64 GP_LAND_SET_SALE_INFO = 0x1 << 14
const U64 GP_LAND_DIVIDE_JOIN = 0x1 << 15
const U64 GP_LAND_FIND_PLACES = 0x1 << 17
const U64 GP_LAND_CHANGE_IDENTITY = 0x1 << 18
const U64 GP_LAND_SET_LANDING_POINT = 0x1 << 19
const U64 GP_LAND_CHANGE_MEDIA = 0x1 << 20
const U64 GP_LAND_EDIT = 0x1 << 21
const U64 GP_LAND_OPTIONS = 0x1 << 22
const U64 GP_LAND_ALLOW_EDIT_LAND = 0x1 << 23
const U64 GP_LAND_ALLOW_FLY = 0x1 << 24
const U64 GP_LAND_ALLOW_CREATE = 0x1 << 25
const U64 GP_LAND_ALLOW_LANDMARK = 0x1 << 26
const U64 GP_LAND_ALLOW_SET_HOME = 0x1 << 28
const U64 GP_LAND_MANAGE_ALLOWED = 0x1 << 29
const U64 GP_LAND_MANAGE_BANNED = 0x1 << 30
const U64 GP_LAND_MANAGE_PASSES = 0x1LL << 31
const U64 GP_LAND_ADMIN = 0x1LL << 32
const U64 GP_LAND_RETURN_GROUP_OWNED = 0x1LL << 48
const U64 GP_LAND_RETURN_GROUP_SET = 0x1LL << 33
const U64 GP_LAND_RETURN_NON_GROUP = 0x1LL << 34
const U64 GP_LAND_RETURN
const U64 GP_LAND_GARDENING = 0x1LL << 35
const U64 GP_OBJECT_DEED = 0x1LL << 36
const U64 GP_OBJECT_MANIPULATE = 0x1LL << 38
const U64 GP_OBJECT_SET_SALE = 0x1LL << 39
const U64 GP_ACCOUNTING_ACCOUNTABLE = 0x1LL << 40
const U64 GP_NOTICES_SEND = 0x1LL << 42
const U64 GP_NOTICES_RECEIVE = 0x1LL << 43
const U64 GP_PROPOSAL_START = 0x1LL << 44
const U64 GP_PROPOSAL_VOTE = 0x1LL << 45
const U64 GP_SESSION_JOIN = 0x1LL << 46
const U64 GP_SESSION_VOICE = 0x1LL << 47
const U64 GP_SESSION_MODERATOR = 0x1LL << 49
const U64 GP_DEFAULT_MEMBER
const U64 GP_DEFAULT_OFFICER


Detailed Description

General Roles Constants.

LicenseInfo
firstyear=2006&license=viewergpl

Copyright (c) 2006-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 roles_constants.h.


Enumeration Type Documentation

enum LLRoleChangeType

Enumerator:
RC_UPDATE_NONE 
RC_UPDATE_DATA 
RC_UPDATE_POWERS 
RC_UPDATE_ALL 
RC_CREATE 
RC_DELETE 

Definition at line 45 of file roles_constants.h.

enum LLRoleMemberChangeType

Enumerator:
RMC_ADD 
RMC_REMOVE 
RMC_NONE 

Definition at line 38 of file roles_constants.h.


Variable Documentation

const U64 GP_ACCOUNTING_ACCOUNTABLE = 0x1LL << 40

Definition at line 135 of file roles_constants.h.

const U64 GP_ALL_POWERS = 0xFFFFFFFFFFFFFFFFLL

Definition at line 69 of file roles_constants.h.

Referenced by LLGroupMgr::processCreateGroupReply(), and LLPanelGroupActionsSubTab::update().

const U64 GP_DEFAULT_MEMBER

Initial value:

Definition at line 149 of file roles_constants.h.

const U64 GP_DEFAULT_OFFICER

Definition at line 158 of file roles_constants.h.

const U64 GP_GROUP_CHANGE_IDENTITY = 0x1 << 11

Definition at line 87 of file roles_constants.h.

Referenced by LLPanelGroupGeneral::apply(), and LLPanelGroupGeneral::update().

const U64 GP_LAND_ADMIN = 0x1LL << 32

Definition at line 116 of file roles_constants.h.

const U64 GP_LAND_ALLOW_CREATE = 0x1 << 25

Definition at line 108 of file roles_constants.h.

const U64 GP_LAND_ALLOW_EDIT_LAND = 0x1 << 23

Definition at line 106 of file roles_constants.h.

const U64 GP_LAND_ALLOW_FLY = 0x1 << 24

Definition at line 107 of file roles_constants.h.

Referenced by LLAgent::canFly().

const U64 GP_LAND_ALLOW_LANDMARK = 0x1 << 26

Definition at line 109 of file roles_constants.h.

Referenced by create_new_landmark(), LLWorldCreateLandmark::handleEvent(), and LLFloaterLandmark::onBtnNew().

const U64 GP_LAND_ALLOW_SET_HOME = 0x1 << 28

Definition at line 110 of file roles_constants.h.

const U64 GP_LAND_CHANGE_IDENTITY = 0x1 << 18

Definition at line 97 of file roles_constants.h.

Referenced by LLPanelLandOptions::draw(), LLPanelLandOptions::onClickPublishHelp(), LLPanelLandOptions::refresh(), and LLPanelLandGeneral::refresh().

const U64 GP_LAND_CHANGE_MEDIA = 0x1 << 20

Definition at line 101 of file roles_constants.h.

Referenced by LLPanelLandMedia::refresh().

const U64 GP_LAND_DEED = 0x1 << 12

Definition at line 90 of file roles_constants.h.

Referenced by LLFloaterBuyLand::buyLand(), LLViewerParcelMgr::canAgentBuyParcel(), LLPanelLandGeneral::refresh(), and LLFloaterBuyLandUI::updateParcelInfo().

const U64 GP_LAND_DIVIDE_JOIN = 0x1 << 15

Definition at line 93 of file roles_constants.h.

Referenced by LLPanelLandInfo::refresh().

const U64 GP_LAND_EDIT = 0x1 << 21

Definition at line 102 of file roles_constants.h.

Referenced by LLPanelLandOptions::refresh().

const U64 GP_LAND_FIND_PLACES = 0x1 << 17

Definition at line 96 of file roles_constants.h.

const U64 GP_LAND_GARDENING = 0x1LL << 35

Definition at line 126 of file roles_constants.h.

const U64 GP_LAND_MANAGE_ALLOWED = 0x1 << 29

Definition at line 113 of file roles_constants.h.

Referenced by LLPanelLandAccess::refresh().

const U64 GP_LAND_MANAGE_BANNED = 0x1 << 30

Definition at line 114 of file roles_constants.h.

Referenced by LLPanelLandBan::refresh().

const U64 GP_LAND_MANAGE_PASSES = 0x1LL << 31

Definition at line 115 of file roles_constants.h.

Referenced by LLPanelLandAccess::refresh().

const U64 GP_LAND_OPTIONS = 0x1 << 22

Definition at line 103 of file roles_constants.h.

Referenced by LLPanelLandOptions::refresh().

const U64 GP_LAND_RELEASE = 0x1 << 13

Definition at line 91 of file roles_constants.h.

Referenced by LLPanelLandInfo::refresh(), LLPanelLandGeneral::refresh(), and LLViewerParcelMgr::startReleaseLand().

const U64 GP_LAND_RETURN

Initial value:

Definition at line 123 of file roles_constants.h.

const U64 GP_LAND_RETURN_GROUP_OWNED = 0x1LL << 48

Definition at line 119 of file roles_constants.h.

Referenced by LLPanelLandObjects::refresh().

const U64 GP_LAND_RETURN_GROUP_SET = 0x1LL << 33

Definition at line 120 of file roles_constants.h.

Referenced by LLPanelLandObjects::refresh().

const U64 GP_LAND_RETURN_NON_GROUP = 0x1LL << 34

Definition at line 121 of file roles_constants.h.

Referenced by LLPanelLandObjects::refresh().

const U64 GP_LAND_SET_LANDING_POINT = 0x1 << 19

Definition at line 98 of file roles_constants.h.

Referenced by LLPanelLandOptions::refresh().

const U64 GP_LAND_SET_SALE_INFO = 0x1 << 14

Definition at line 92 of file roles_constants.h.

Referenced by LLPanelLandGeneral::refresh().

const U64 GP_MEMBER_EJECT = 0x1 << 2

Definition at line 73 of file roles_constants.h.

Referenced by LLPanelGroupMembersSubTab::handleMemberSelect().

const U64 GP_MEMBER_INVITE = 0x1 << 1

Definition at line 72 of file roles_constants.h.

Referenced by invite_to_group(), and LLPanelGroupMembersSubTab::postBuildSubTab().

const U64 GP_MEMBER_OPTIONS = 0x1 << 3

Definition at line 74 of file roles_constants.h.

Referenced by LLPanelGroupGeneral::apply(), LLPanelGroupGeneral::onCommitEnrollment(), and LLPanelGroupGeneral::update().

const U64 GP_MEMBER_VISIBLE_IN_DIR = 0x1LL << 47

Definition at line 75 of file roles_constants.h.

Referenced by LLPanelGroupRolesSubTab::handleMemberVisibilityChange(), and LLPanelGroupRolesSubTab::handleRoleSelect().

const U64 GP_NO_POWERS = 0x0

Definition at line 68 of file roles_constants.h.

Referenced by LLPanelGroupMembersSubTab::getAgentPowersBasedOnRoleChanges(), LLAgent::getPowerInGroup(), LLGroupMgrGroupData::getRolePowers(), LLPanelGroupActionsSubTab::handleActionSelect(), LLAgent::hasPowerInGroup(), LLGroupMgr::processGroupPropertiesReply(), and LLPanelLandGeneral::refresh().

const U64 GP_NOTICES_RECEIVE = 0x1LL << 43

Definition at line 139 of file roles_constants.h.

Referenced by LLPanelGroupNotices::activate(), and LLPanelGroupNotices::isVisibleByAgent().

const U64 GP_NOTICES_SEND = 0x1LL << 42

Definition at line 138 of file roles_constants.h.

Referenced by LLPanelGroupNotices::activate(), LLGroupDropTarget::handleDragAndDrop(), LLPanelGroupNotices::isVisibleByAgent(), and LLPanelGroupNotices::postBuild().

const U64 GP_OBJECT_DEED = 0x1LL << 36

Definition at line 129 of file roles_constants.h.

Referenced by callback_deed_to_group(), enable_deed_object_to_group(), and LLPanelPermissions::refresh().

const U64 GP_OBJECT_MANIPULATE = 0x1LL << 38

Definition at line 131 of file roles_constants.h.

Referenced by LLTaskInvFVBridge::buildContextMenu(), derez_objects(), LLTaskInvFVBridge::getDisplayName(), LLTaskInvFVBridge::isItemCopyable(), LLTaskInvFVBridge::isItemRenameable(), LLLiveLSLEditor::loadAsset(), LLPreviewLSL::loadAsset(), LLPreviewNotecard::loadAsset(), LLFloaterProperties::onCommitDescription(), LLFloaterProperties::onCommitName(), LLPreviewLSL::onLoadComplete(), LLPreviewNotecard::onLoadComplete(), LLPanelPermissions::refresh(), LLFloaterProperties::refreshFromItem(), LLTaskInvFVBridge::renameItem(), LLTaskCategoryBridge::startDrag(), and LLTaskInvFVBridge::startDrag().

const U64 GP_OBJECT_SET_SALE = 0x1LL << 39

Definition at line 132 of file roles_constants.h.

Referenced by LLPanelPermissions::refresh(), LLFloaterProperties::refreshFromItem(), and LLFloaterProperties::updateSaleInfo().

const U64 GP_PROPOSAL_START = 0x1LL << 44

Definition at line 142 of file roles_constants.h.

Referenced by LLPanelGroupVoting::impl::sendStartGroupProposal(), LLPanelGroupVoting::impl::setEnableCreateProposal(), and LLPanelGroupVoting::impl::setEnableListProposals().

const U64 GP_PROPOSAL_VOTE = 0x1LL << 45

Definition at line 143 of file roles_constants.h.

Referenced by LLPanelGroupVoting::impl::sendGroupProposalBallot(), and LLPanelGroupVoting::impl::setEnableVoteProposal().

const U64 GP_ROLE_ASSIGN_MEMBER = 0x1 << 8

Definition at line 82 of file roles_constants.h.

Referenced by LLPanelGroupInvite::impl::addRoleNames(), agentCanAddToRole(), and LLPanelGroupRolesSubTab::handleActionCheck().

const U64 GP_ROLE_ASSIGN_MEMBER_LIMITED = 0x1 << 7

Definition at line 81 of file roles_constants.h.

Referenced by LLPanelGroupInvite::impl::addRoleNames(), and agentCanAddToRole().

const U64 GP_ROLE_CHANGE_ACTIONS = 0x1 << 10

Definition at line 84 of file roles_constants.h.

Referenced by LLPanelGroupSubTab::buildActionCategory(), LLPanelGroupRolesSubTab::handleActionCheck(), and LLPanelGroupRolesSubTab::handleRoleSelect().

const U64 GP_ROLE_CREATE = 0x1 << 4

Definition at line 78 of file roles_constants.h.

Referenced by LLPanelGroupRolesSubTab::update().

const U64 GP_ROLE_DELETE = 0x1 << 5

Definition at line 79 of file roles_constants.h.

Referenced by LLPanelGroupRolesSubTab::handleRoleSelect().

const U64 GP_ROLE_PROPERTIES = 0x1 << 6

Definition at line 80 of file roles_constants.h.

Referenced by LLPanelGroupRolesSubTab::handleRoleSelect().

const U64 GP_ROLE_REMOVE_MEMBER = 0x1 << 9

Definition at line 83 of file roles_constants.h.

Referenced by agentCanRemoveFromRole().

const U64 GP_SESSION_JOIN = 0x1LL << 46

Definition at line 145 of file roles_constants.h.

const U64 GP_SESSION_MODERATOR = 0x1LL << 49

Definition at line 147 of file roles_constants.h.

const U64 GP_SESSION_VOICE = 0x1LL << 47

Definition at line 146 of file roles_constants.h.

const S32 MAX_ROLES = 10

Definition at line 36 of file roles_constants.h.

Referenced by LLPanelGroupRolesSubTab::update().


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