LLLandmarkBridge Class Reference

#include <llinventorybridge.h>

Inheritance diagram for LLLandmarkBridge:

Inheritance graph
[legend]
Collaboration diagram for LLLandmarkBridge:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual const LLStringgetPrefix ()
virtual void performAction (LLFolderView *folder, LLInventoryModel *model, LLString action)
virtual void buildContextMenu (LLMenuGL &menu, U32 flags)
virtual LLViewerImagegetIcon () const
virtual void openItem ()

Protected Member Functions

 LLLandmarkBridge (LLInventoryPanel *inventory, const LLUUID &uuid, U32 flags=0x00)

Protected Attributes

BOOL mVisited

Static Protected Attributes

static LLString sPrefix

Friends

class LLInvFVBridge

Detailed Description

Definition at line 382 of file llinventorybridge.h.


Constructor & Destructor Documentation

LLLandmarkBridge::LLLandmarkBridge ( LLInventoryPanel inventory,
const LLUUID uuid,
U32  flags = 0x00 
) [inline, protected]

Definition at line 393 of file llinventorybridge.h.

References FALSE, LLInventoryItem::II_FLAGS_LANDMARK_VISITED, mVisited, and TRUE.


Member Function Documentation

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

Reimplemented from LLInvFVBridge.

Definition at line 2478 of file llinventorybridge.cpp.

References LLInvFVBridge::getClipboardEntries(), hideContextEntries(), LLInvFVBridge::isInTrash(), LLInvFVBridge::isItemRemovable(), lldebugs, and llendl.

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

Reimplemented from LLItemBridge.

Definition at line 2473 of file llinventorybridge.cpp.

References LLAssetType::AT_LANDMARK, FALSE, get_item_icon(), LLInventoryType::IT_LANDMARK, and mVisited.

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

Reimplemented from LLInvFVBridge.

Definition at line 386 of file llinventorybridge.h.

References sPrefix.

Referenced by performAction().

void LLLandmarkBridge::openItem (  )  [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 2584 of file llinventorybridge.cpp.

References LLInventoryItem::getAssetUUID(), LLItemBridge::getItem(), open_landmark_callback(), and LLAlertDialog::showXml().

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

Reimplemented from LLItemBridge.

Definition at line 2510 of file llinventorybridge.cpp.

References FALSE, gAgent, LLInventoryItem::getAssetUUID(), LLItemBridge::getItem(), getPrefix(), gFloaterWorldMap, open_landmark(), LLItemBridge::performAction(), and LLAgent::teleportViaLandmark().


Friends And Related Function Documentation

friend class LLInvFVBridge [friend]

Definition at line 384 of file llinventorybridge.h.


Member Data Documentation

BOOL LLLandmarkBridge::mVisited [protected]

Definition at line 405 of file llinventorybridge.h.

Referenced by getIcon(), and LLLandmarkBridge().

LLString LLLandmarkBridge::sPrefix [static, protected]

Definition at line 404 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:27 2010 for Second Life Viewer by  doxygen 1.4.7