LLTaskSoundBridge Class Reference

Inheritance diagram for LLTaskSoundBridge:

Inheritance graph
Collaboration diagram for LLTaskSoundBridge:

Collaboration graph
List of all members.

Public Member Functions

 LLTaskSoundBridge (LLPanelInventory *panel, const LLUUID &uuid, const LLString &name)
virtual LLViewerImagegetIcon () const
virtual void openItem ()
virtual void performAction (LLFolderView *folder, LLInventoryModel *model, LLString action)
virtual void buildContextMenu (LLMenuGL &menu, U32 flags)

Static Public Member Functions

static void openSoundPreview (void *data)

Detailed Description

---------------------------------------------------------------------------- Class LLTaskSoundBridge ----------------------------------------------------------------------------

Definition at line 922 of file llpanelinventory.cpp.

Constructor & Destructor Documentation

LLTaskSoundBridge::LLTaskSoundBridge ( LLPanelInventory panel,
const LLUUID uuid,
const LLString name 

Definition at line 937 of file llpanelinventory.cpp.

Member Function Documentation

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

Reimplemented from LLTaskInvFVBridge.

Definition at line 989 of file llpanelinventory.cpp.

References LLTaskInvFVBridge::findItem(), gAgent, LLView::getChildList(), LLAgent::getID(), LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLTaskInvFVBridge::getPrice(), LLInventoryItem::getSaleInfo(), hideContextEntries(), LLSaleInfo::isForSale(), LLTaskInvFVBridge::isItemCopyable(), LLTaskInvFVBridge::isItemRemovable(), LLTaskInvFVBridge::isItemRenameable(), list, LL_MENU_ITEM_CALL_GL_TAG, llendl, llwarns, and S32.

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

Reimplemented from LLTaskInvFVBridge.

Definition at line 945 of file llpanelinventory.cpp.

References LLAssetType::AT_SOUND, FALSE, get_item_icon(), and LLInventoryType::IT_SOUND.

void LLTaskSoundBridge::openItem (  )  [virtual]

Reimplemented from LLTaskInvFVBridge.

Definition at line 950 of file llpanelinventory.cpp.

References openSoundPreview().

void LLTaskSoundBridge::openSoundPreview ( void data  )  [static]

Definition at line 955 of file llpanelinventory.cpp.

References LLFloaterView::getNewFloaterPosition(), LLControlGroup::getRect(), gFloaterView, gSavedSettings, left, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLPreview::open(), S32, LLPreview::show(), top, and LLRectBase< Type >::translate().

Referenced by openItem().

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

Reimplemented from LLTaskInvFVBridge.

Definition at line 976 of file llpanelinventory.cpp.

References LLTaskInvFVBridge::findItem(), LLInventoryItem::getAssetUUID(), LLTaskInvFVBridge::performAction(), and send_sound_trigger().

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