LLPreviewSound Class Reference

#include <llpreviewsound.h>

Inheritance diagram for LLPreviewSound:

Inheritance graph
[legend]
Collaboration diagram for LLPreviewSound:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPreviewSound (const std::string &name, const LLRect &rect, const std::string &title, const LLUUID &item_uuid, const LLUUID &object_uuid=LLUUID::null)

Static Public Member Functions

static void playSound (void *userdata)
static void auditionSound (void *userdata)

Detailed Description

Definition at line 37 of file llpreviewsound.h.


Constructor & Destructor Documentation

LLPreviewSound::LLPreviewSound ( const std::string &  name,
const LLRect rect,
const std::string &  title,
const LLUUID item_uuid,
const LLUUID object_uuid = LLUUID::null 
)

Definition at line 51 of file llpreviewsound.cpp.

References auditionSound(), LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetPrevalidate(), LLPanel::childSetText(), gAudiop, LLInventoryItem::getAssetUUID(), LLUICtrlFactory::getButtonByName(), LLInventoryItem::getDescription(), LLFloater::getHost(), LLPreview::getItem(), LLView::getRect(), gUICtrlFactory, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLPreview::onText(), playSound(), LLAudioEngine::preloadSound(), LLLineEditor::prevalidatePrintableNotPipe(), LLView::setSoundFlags(), LLFloater::setTitle(), LLView::SILENT, and LLView::translate().


Member Function Documentation

void LLPreviewSound::auditionSound ( void userdata  )  [static]

Definition at line 101 of file llpreviewsound.cpp.

References gAgent, gAudiop, LLInventoryItem::getAssetUUID(), LLControlGroup::getF32(), LLAgent::getID(), LLAgent::getPositionGlobal(), gSavedSettings, SOUND_GAIN, and LLAudioEngine::triggerSound().

Referenced by LLPreviewSound().

void LLPreviewSound::playSound ( void userdata  )  [static]

Definition at line 89 of file llpreviewsound.cpp.

References gAudiop, LLInventoryItem::getAssetUUID(), send_sound_trigger(), and SOUND_GAIN.

Referenced by LLPreviewSound().


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