LLGroupDropTarget Class Reference

Inheritance diagram for LLGroupDropTarget:

Inheritance graph
[legend]
Collaboration diagram for LLGroupDropTarget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLGroupDropTarget (const std::string &name, const LLRect &rect, LLPanelGroupNotices *panel, const LLUUID &group_id)
 ~LLGroupDropTarget ()
void doDrop (EDragAndDropType cargo_type, void *cargo_data)
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
virtual BOOL handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data, EAcceptance *accept, LLString &tooltip_msg)

Protected Attributes

LLPanelGroupNoticesmGroupNoticesPanel
LLUUID mGroupID

Detailed Description

Definition at line 69 of file llpanelgroupnotices.cpp.


Constructor & Destructor Documentation

LLGroupDropTarget::LLGroupDropTarget ( const std::string &  name,
const LLRect rect,
LLPanelGroupNotices panel,
const LLUUID group_id 
)

Definition at line 91 of file llpanelgroupnotices.cpp.

LLGroupDropTarget::~LLGroupDropTarget (  )  [inline]

Definition at line 73 of file llpanelgroupnotices.cpp.


Member Function Documentation

void LLGroupDropTarget::doDrop ( EDragAndDropType  cargo_type,
void cargo_data 
)

Definition at line 109 of file llpanelgroupnotices.cpp.

References llendl, and llinfos.

LLString LLGroupDropTarget::getWidgetTag (  )  const [virtual]

Implements LLView.

Definition at line 104 of file llpanelgroupnotices.cpp.

References LL_GROUP_DROP_TARGET_TAG.

EWidgetType LLGroupDropTarget::getWidgetType (  )  const [virtual]

Implements LLView.

Definition at line 99 of file llpanelgroupnotices.cpp.

References WIDGET_TYPE_DONTCARE.

BOOL LLGroupDropTarget::handleDragAndDrop ( S32  x,
S32  y,
MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void cargo_data,
EAcceptance accept,
LLString tooltip_msg 
) [virtual]

Reimplemented from LLView.

Definition at line 114 of file llpanelgroupnotices.cpp.

References ACCEPT_NO, ACCEPT_YES_COPY_SINGLE, DAD_ANIMATION, DAD_BODYPART, DAD_CALLINGCARD, DAD_CATEGORY, DAD_CLOTHING, DAD_GESTURE, DAD_LANDMARK, DAD_NOTECARD, DAD_OBJECT, DAD_SCRIPT, DAD_SOUND, DAD_TEXTURE, FALSE, gAgent, LLInventoryModel::getItem(), LLView::getParent(), LLInventoryObject::getUUID(), gInventory, GP_NOTICES_SEND, LLAgent::hasPowerInGroup(), LLToolDragAndDrop::isInventoryGroupGiveAcceptable(), mGroupID, mGroupNoticesPanel, LLPanelGroupNotices::setItem(), and TRUE.


Member Data Documentation

LLUUID LLGroupDropTarget::mGroupID [protected]

Definition at line 88 of file llpanelgroupnotices.cpp.

Referenced by handleDragAndDrop().

LLPanelGroupNotices* LLGroupDropTarget::mGroupNoticesPanel [protected]

Definition at line 87 of file llpanelgroupnotices.cpp.

Referenced by handleDragAndDrop().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:23 2010 for Second Life Viewer by  doxygen 1.4.7