#include <llinventorybridge.h>
Inheritance diagram for LLSoundBridge:
Public Member Functions | |
virtual const LLString & | getPrefix () |
virtual LLViewerImage * | getIcon () const |
virtual void | openItem () |
virtual void | previewItem () |
virtual void | buildContextMenu (LLMenuGL &menu, U32 flags) |
Static Public Member Functions | |
static void | openSoundPreview (void *) |
Protected Member Functions | |
LLSoundBridge (LLInventoryPanel *inventory, const LLUUID &uuid) | |
Static Protected Attributes | |
static LLString | sPrefix |
Friends | |
class | LLInvFVBridge |
Definition at line 364 of file llinventorybridge.h.
LLSoundBridge::LLSoundBridge | ( | LLInventoryPanel * | inventory, | |
const LLUUID & | uuid | |||
) | [inline, protected] |
Definition at line 377 of file llinventorybridge.h.
Reimplemented from LLInvFVBridge.
Definition at line 2437 of file llinventorybridge.cpp.
References LLInvFVBridge::getClipboardEntries(), hideContextEntries(), LLInvFVBridge::isInTrash(), LLInvFVBridge::isItemRemovable(), lldebugs, and llendl.
LLViewerImage * LLSoundBridge::getIcon | ( | ) | const [virtual] |
Reimplemented from LLItemBridge.
Definition at line 2378 of file llinventorybridge.cpp.
References LLAssetType::AT_SOUND, FALSE, get_item_icon(), and LLInventoryType::IT_SOUND.
virtual const LLString& LLSoundBridge::getPrefix | ( | ) | [inline, virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 368 of file llinventorybridge.h.
References sPrefix.
Referenced by openSoundPreview().
void LLSoundBridge::openItem | ( | ) | [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 2383 of file llinventorybridge.cpp.
References LLItemBridge::getItem(), and openSoundPreview().
Definition at line 2418 of file llinventorybridge.cpp.
References LLFloaterView::adjustToFitScreen(), FALSE, LLInvFVBridge::getName(), LLFloaterView::getNewFloaterPosition(), getPrefix(), LLControlGroup::getRect(), gFloaterView, gSavedSettings, left, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLInvFVBridge::mUUID, S32, LLFloater::setFocus(), LLPreview::show(), top, LLRectBase< Type >::translate(), and TRUE.
Referenced by openItem().
void LLSoundBridge::previewItem | ( | ) | [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 2409 of file llinventorybridge.cpp.
References LLInventoryItem::getAssetUUID(), LLItemBridge::getItem(), and send_sound_trigger().
friend class LLInvFVBridge [friend] |
Definition at line 366 of file llinventorybridge.h.
LLString LLSoundBridge::sPrefix [static, protected] |