Public Member Functions | |
LLTaskSoundBridge (LLPanelInventory *panel, const LLUUID &uuid, const LLString &name) | |
virtual LLViewerImage * | getIcon () 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) |
Definition at line 922 of file llpanelinventory.cpp.
LLTaskSoundBridge::LLTaskSoundBridge | ( | LLPanelInventory * | panel, | |
const LLUUID & | uuid, | |||
const LLString & | name | |||
) |
Definition at line 937 of file llpanelinventory.cpp.
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().
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().