#include <llpreviewsound.h>


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) |
Protected Member Functions | |
| virtual const char * | getTitleName () const |
Definition at line 37 of file llpreviewsound.h.
| 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(), LLInventoryItem::getAssetUUID(), LLInventoryItem::getDescription(), LLFloater::getHost(), LLSingleton< LLUICtrlFactory >::getInstance(), LLPreview::getItem(), LLView::getRect(), LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLPreview::onText(), playSound(), LLAudioEngine::preloadSound(), LLLineEditor::prevalidatePrintableNotPipe(), LLView::setSoundFlags(), LLFloater::setTitle(), LLView::SILENT, and LLView::translate().

| void LLPreviewSound::playSound | ( | void * | userdata | ) | [static] |
Definition at line 89 of file llpreviewsound.cpp.
References LLInventoryItem::getAssetUUID(), send_sound_trigger(), and SOUND_GAIN.
Referenced by LLPreviewSound().


| void LLPreviewSound::auditionSound | ( | void * | userdata | ) | [static] |
Definition at line 101 of file llpreviewsound.cpp.
References LLInventoryItem::getAssetUUID(), LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLAgent::getID(), LLAgent::getPositionGlobal(), gSavedSettings, SOUND_GAIN, and LLAudioEngine::triggerSound().
Referenced by LLPreviewSound().


| virtual const char* LLPreviewSound::getTitleName | ( | ) | const [inline, protected, virtual] |
1.5.5