#include <llfloaterpermissionsmgr.h>
Inheritance diagram for LLPermissionsView:
Public Member Functions | |
LLPermissionsView (const LLRect &rect) | |
virtual | ~LLPermissionsView () |
virtual EWidgetType | getWidgetType () const |
virtual LLString | getWidgetTag () const |
void | clearPermissionsData () |
void | addPermissionsData (const LLString &object_name, const LLUUID &object_id, U32 permissions_flags) |
Static Public Member Functions | |
static void | revokePermissions (void *userdata) |
static void | findObject (void *userdata) |
Protected Attributes | |
std::map< LLUUID, LLPermissionsData * > | mPermData |
Definition at line 75 of file llfloaterpermissionsmgr.h.
LLPermissionsView::LLPermissionsView | ( | const LLRect & | rect | ) |
Definition at line 101 of file llfloaterpermissionsmgr.cpp.
virtual LLPermissionsView::~LLPermissionsView | ( | ) | [inline, virtual] |
Definition at line 79 of file llfloaterpermissionsmgr.h.
void LLPermissionsView::addPermissionsData | ( | const LLString & | object_name, | |
const LLUUID & | object_id, | |||
U32 | permissions_flags | |||
) |
Definition at line 122 of file llfloaterpermissionsmgr.cpp.
References LLView::addChild(), BTN_HEIGHT, findObject(), FOLLOWS_BOTTOM, FOLLOWS_LEFT, FOLLOWS_RIGHT, LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), HPAD, LINE, mPermData, LLView::mRect, LLView::reshape(), revokePermissions(), S32, LLRectBase< Type >::set(), LLView::setFollows(), VPAD, and y.
Referenced by show_permissions_control().
void LLPermissionsView::clearPermissionsData | ( | ) |
Definition at line 115 of file llfloaterpermissionsmgr.cpp.
References LLView::deleteAllChildren(), and mPermData.
LLString LLPermissionsView::getWidgetTag | ( | ) | const [virtual] |
Implements LLView.
Definition at line 110 of file llfloaterpermissionsmgr.cpp.
References LL_PERMISSIONS_VIEW_TAG.
EWidgetType LLPermissionsView::getWidgetType | ( | ) | const [virtual] |
Implements LLView.
Definition at line 105 of file llfloaterpermissionsmgr.cpp.
References WIDGET_TYPE_PERMISSIONS_VIEW.
Definition at line 149 of file llfloaterpermissionsmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, _PREHASH_ObjectID, _PREHASH_ObjectPermissions, _PREHASH_RevokePermissions, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLViewerObjectList::findObject(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getRegion(), LLAgent::getSessionID(), gMessageSystem, gObjectList, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
Referenced by addPermissionsData().
std::map<LLUUID, LLPermissionsData*> LLPermissionsView::mPermData [protected] |
Definition at line 92 of file llfloaterpermissionsmgr.h.
Referenced by addPermissionsData(), and clearPermissionsData().