LLSoundBridge Class Reference

#include <llinventorybridge.h>

Inheritance diagram for LLSoundBridge:

Inheritance graph
[legend]
Collaboration diagram for LLSoundBridge:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual const LLStringgetPrefix ()
virtual LLViewerImagegetIcon () 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

Detailed Description

Definition at line 364 of file llinventorybridge.h.


Constructor & Destructor Documentation

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

Definition at line 377 of file llinventorybridge.h.


Member Function Documentation

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

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().

void LLSoundBridge::openSoundPreview ( void  )  [static]

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().


Friends And Related Function Documentation

friend class LLInvFVBridge [friend]

Definition at line 366 of file llinventorybridge.h.


Member Data Documentation

LLString LLSoundBridge::sPrefix [static, protected]

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