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)

Protected Member Functions

virtual const char * getTitleName () const


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 
)


Member Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from LLPreview.

Definition at line 48 of file llpreviewsound.h.


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:00:34 2008 for SecondLife by  doxygen 1.5.5