LLPrefsVoiceLogic Class Reference

#include <llprefsvoice.h>

Collaboration diagram for LLPrefsVoiceLogic:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPrefsVoiceLogic (LLPanel *panelp)
virtual ~LLPrefsVoiceLogic ()
virtual void init ()
void apply ()
void cancel ()
void refresh ()
void setKey (KEY key, MASK mask)

Static Protected Member Functions

static void onClickSetKey (void *user_data)
static void onClickSetMiddleMouse (void *user_data)
static void onEarLocationCommit (LLUICtrl *ctrl, void *user_data)

Protected Attributes

BOOL mEnableVoice
BOOL mVoiceCallsFriendsOnly
BOOL mEnablePushToTalk
std::string mModifier
BOOL mPushToTalkToggle
S32 mEarLocation
LLCtrlSelectionInterfacemCtrlEarLocation
BOOL mEatNextSetKeyClick
LLPanelmPanel


Detailed Description

Definition at line 39 of file llprefsvoice.h.


Constructor & Destructor Documentation

LLPrefsVoiceLogic::LLPrefsVoiceLogic ( LLPanel panelp  ) 

Definition at line 88 of file llprefsvoice.cpp.

References init().

Here is the call graph for this function:

virtual LLPrefsVoiceLogic::~LLPrefsVoiceLogic (  )  [inline, virtual]

Definition at line 43 of file llprefsvoice.h.


Member Function Documentation

void LLPrefsVoiceLogic::init ( void   )  [virtual]

void LLPrefsVoiceLogic::apply (  ) 

Definition at line 148 of file llprefsvoice.cpp.

Referenced by LLPrefsVoice::apply().

Here is the caller graph for this function:

void LLPrefsVoiceLogic::cancel (  ) 

Definition at line 138 of file llprefsvoice.cpp.

References gSavedSettings, mEarLocation, mEnableVoice, mModifier, mPushToTalkToggle, mVoiceCallsFriendsOnly, LLControlGroup::setBOOL(), LLControlGroup::setS32(), and LLControlGroup::setString().

Referenced by LLPrefsVoice::cancel().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPrefsVoiceLogic::refresh (  ) 

Definition at line 119 of file llprefsvoice.cpp.

References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), LLControlGroup::getBOOL(), gSavedSettings, and mPanel.

Referenced by LLPrefsVoice::draw(), and init().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPrefsVoiceLogic::setKey ( KEY  key,
MASK  mask 
)

Definition at line 187 of file llprefsvoice.cpp.

References gSavedSettings, mEatNextSetKeyClick, LLControlGroup::setString(), LLKeyboard::stringFromKey(), and TRUE.

Referenced by LLVoiceHotkeySelectDialog::handleKeyHere().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPrefsVoiceLogic::onClickSetKey ( void *  user_data  )  [static, protected]

Definition at line 163 of file llprefsvoice.cpp.

References LLModalDialog::startModal().

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPrefsVoiceLogic::onClickSetMiddleMouse ( void *  user_data  )  [static, protected]

Definition at line 180 of file llprefsvoice.cpp.

References gSavedSettings, and LLControlGroup::setString().

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPrefsVoiceLogic::onEarLocationCommit ( LLUICtrl ctrl,
void *  user_data 
) [static, protected]

Definition at line 153 of file llprefsvoice.cpp.

References LLSD::asInteger(), LLCtrlSelectionInterface::getSelectedValue(), LLUICtrl::getSelectionInterface(), gSavedSettings, and LLControlGroup::setS32().

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 59 of file llprefsvoice.h.

Referenced by cancel(), and init().

Definition at line 60 of file llprefsvoice.h.

Referenced by cancel(), and init().

Definition at line 61 of file llprefsvoice.h.

std::string LLPrefsVoiceLogic::mModifier [protected]

Definition at line 62 of file llprefsvoice.h.

Referenced by cancel(), and init().

Definition at line 63 of file llprefsvoice.h.

Referenced by cancel(), and init().

Definition at line 64 of file llprefsvoice.h.

Referenced by cancel(), and init().

Definition at line 65 of file llprefsvoice.h.

Referenced by init().

Definition at line 67 of file llprefsvoice.h.

Referenced by init(), and setKey().

Definition at line 69 of file llprefsvoice.h.

Referenced by init(), and refresh().


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

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