LLCallingCardBridge Class Reference

#include <llinventorybridge.h>

Inheritance diagram for LLCallingCardBridge:

Inheritance graph
[legend]
Collaboration diagram for LLCallingCardBridge:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual const LLStringgetPrefix ()
virtual LLString getLabelSuffix () const
virtual LLViewerImagegetIcon () const
virtual void performAction (LLFolderView *folder, LLInventoryModel *model, LLString action)
virtual void openItem ()
virtual void buildContextMenu (LLMenuGL &menu, U32 flags)
virtual BOOL dragOrDrop (MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data)
void refreshFolderViewItem ()

Protected Member Functions

 LLCallingCardBridge (LLInventoryPanel *inventory, const LLUUID &uuid)
 ~LLCallingCardBridge ()

Protected Attributes

LLCallingCardObservermObserver

Static Protected Attributes

static LLString sPrefix

Friends

class LLInvFVBridge

Detailed Description

Definition at line 421 of file llinventorybridge.h.


Constructor & Destructor Documentation

LLCallingCardBridge::LLCallingCardBridge ( LLInventoryPanel inventory,
const LLUUID uuid 
) [protected]

Definition at line 2613 of file llinventorybridge.cpp.

References LLAvatarTracker::addObserver(), LLAvatarTracker::instance(), and mObserver.

LLCallingCardBridge::~LLCallingCardBridge (  )  [protected]

Definition at line 2620 of file llinventorybridge.cpp.

References LLAvatarTracker::instance(), mObserver, and LLAvatarTracker::removeObserver().


Member Function Documentation

void LLCallingCardBridge::buildContextMenu ( LLMenuGL menu,
U32  flags 
) [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 2695 of file llinventorybridge.cpp.

References gAgent, LLInvFVBridge::getClipboardEntries(), LLInventoryItem::getCreatorUUID(), LLAgent::getID(), LLItemBridge::getItem(), hideContextEntries(), LLAvatarTracker::instance(), LLAvatarTracker::isBuddyOnline(), LLInvFVBridge::isInTrash(), LLInvFVBridge::isItemRemovable(), lldebugs, llendl, and LLUUID::null.

BOOL LLCallingCardBridge::dragOrDrop ( MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void cargo_data 
) [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 2740 of file llinventorybridge.cpp.

References LLPermissions::allowOperationBy(), DAD_ANIMATION, DAD_BODYPART, DAD_CATEGORY, DAD_CLOTHING, DAD_GESTURE, DAD_LANDMARK, DAD_NOTECARD, DAD_OBJECT, DAD_SCRIPT, DAD_SOUND, DAD_TEXTURE, FALSE, gAgent, LLInventoryModel::getCategory(), LLInventoryItem::getCreatorUUID(), LLAgent::getID(), LLInventoryModel::getItem(), LLItemBridge::getItem(), LLInventoryItem::getPermissions(), LLInventoryObject::getUUID(), gInventory, LLToolDragAndDrop::giveInventory(), LLToolDragAndDrop::giveInventoryCategory(), PERM_TRANSFER, and TRUE.

LLViewerImage * LLCallingCardBridge::getIcon (  )  const [virtual]

Reimplemented from LLItemBridge.

Definition at line 2660 of file llinventorybridge.cpp.

References LLAssetType::AT_CALLINGCARD, FALSE, get_item_icon(), LLInventoryItem::getCreatorUUID(), LLItemBridge::getItem(), LLAvatarTracker::instance(), LLAvatarTracker::isBuddyOnline(), and LLInventoryType::IT_CALLINGCARD.

LLString LLCallingCardBridge::getLabelSuffix (  )  const [virtual]

Reimplemented from LLItemBridge.

Definition at line 2671 of file llinventorybridge.cpp.

References LLInventoryItem::getCreatorUUID(), LLItemBridge::getItem(), LLItemBridge::getLabelSuffix(), and LLAvatarTracker::instance().

virtual const LLString& LLCallingCardBridge::getPrefix (  )  [inline, virtual]

Reimplemented from LLInvFVBridge.

Definition at line 425 of file llinventorybridge.h.

References sPrefix.

void LLCallingCardBridge::openItem (  )  [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 2684 of file llinventorybridge.cpp.

References LLInventoryItem::getCreatorUUID(), LLItemBridge::getItem(), LLAvatarTracker::instance(), LLAvatarTracker::isBuddyOnline(), LLUUID::isNull(), and LLFloaterAvatarInfo::showFromFriend().

void LLCallingCardBridge::performAction ( LLFolderView folder,
LLInventoryModel model,
LLString  action 
) [virtual]

Reimplemented from LLItemBridge.

Definition at line 2636 of file llinventorybridge.cpp.

References LLIMMgr::addSession(), gAgent, LLInventoryItem::getCreatorUUID(), LLAgent::getID(), LLItemBridge::getItem(), LLInventoryObject::getName(), gIMMgr, handle_lure(), IM_NOTHING_SPECIAL, LLUUID::isNull(), LLItemBridge::performAction(), LLIMMgr::setFloaterOpen(), and TRUE.

void LLCallingCardBridge::refreshFolderViewItem (  ) 

Definition at line 2626 of file llinventorybridge.cpp.

References LLFolderView::getItemByID(), LLInventoryPanel::getRootFolder(), LLInvFVBridge::mInventoryPanel, LLInvFVBridge::mUUID, and LLFolderViewItem::refresh().

Referenced by LLCallingCardObserver::changed().


Friends And Related Function Documentation

friend class LLInvFVBridge [friend]

Definition at line 423 of file llinventorybridge.h.


Member Data Documentation

LLCallingCardObserver* LLCallingCardBridge::mObserver [protected]

Definition at line 446 of file llinventorybridge.h.

Referenced by LLCallingCardBridge(), and ~LLCallingCardBridge().

LLString LLCallingCardBridge::sPrefix [static, protected]

Definition at line 445 of file llinventorybridge.h.

Referenced by getPrefix().


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