#include <llprefsvoice.h>
Collaboration diagram for LLPrefsVoiceLogic:

| 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) | 
| static void | onClickLaunchWizard (void *user_data) | 
| Protected Attributes | |
| BOOL | mEnableVoice | 
| BOOL | mVoiceCallsFriendsOnly | 
| BOOL | mEnablePushToTalk | 
| std::string | mModifier | 
| BOOL | mPushToTalkToggle | 
| S32 | mEarLocation | 
| LLCtrlSelectionInterface * | mCtrlEarLocation | 
| BOOL | mEatNextSetKeyClick | 
| LLPanel * | mPanel | 
Definition at line 39 of file llprefsvoice.h.
| LLPrefsVoiceLogic::LLPrefsVoiceLogic | ( | LLPanel * | panelp | ) | 
| virtual LLPrefsVoiceLogic::~LLPrefsVoiceLogic | ( | ) |  [inline, virtual] | 
Definition at line 43 of file llprefsvoice.h.
| void LLPrefsVoiceLogic::apply | ( | ) | 
| void LLPrefsVoiceLogic::cancel | ( | ) | 
Definition at line 130 of file llprefsvoice.cpp.
References gSavedSettings, mEarLocation, mEnablePushToTalk, mEnableVoice, mModifier, mPushToTalkToggle, mVoiceCallsFriendsOnly, LLControlGroup::setBOOL(), LLControlGroup::setS32(), and LLControlGroup::setString().
Referenced by LLPrefsVoice::cancel().
| void LLPrefsVoiceLogic::init | ( | ) |  [virtual] | 
Definition at line 91 of file llprefsvoice.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), FALSE, LLControlGroup::getBOOL(), LLControlGroup::getS32(), LLUICtrlFactory::getSelectionInterfaceByName(), LLControlGroup::getString(), gSavedSettings, mCtrlEarLocation, mEarLocation, mEatNextSetKeyClick, mEnablePushToTalk, mEnableVoice, mModifier, mPanel, mPushToTalkToggle, mVoiceCallsFriendsOnly, onClickLaunchWizard(), onClickSetKey(), onClickSetMiddleMouse(), onEarLocationCommit(), refresh(), and LLCtrlSelectionInterface::selectByValue().
Referenced by LLPrefsVoiceLogic().
Definition at line 155 of file llprefsvoice.cpp.
References LLUIInstanceMgr< LLFloaterVoiceWizard, LLFloaterVoiceWizard >::showInstance().
Referenced by init().
Definition at line 161 of file llprefsvoice.cpp.
References LLModalDialog::startModal().
Referenced by init().
Definition at line 178 of file llprefsvoice.cpp.
References gSavedSettings, and LLControlGroup::setString().
Referenced by init().
| void LLPrefsVoiceLogic::onEarLocationCommit | ( | LLUICtrl * | ctrl, | |
| void * | user_data | |||
| ) |  [static, protected] | 
Definition at line 145 of file llprefsvoice.cpp.
References LLSD::asInteger(), LLUICtrl::getSelectionInterface(), LLCtrlSelectionInterface::getSimpleSelectedValue(), gSavedSettings, and LLControlGroup::setS32().
Referenced by init().
| void LLPrefsVoiceLogic::refresh | ( | ) | 
Definition at line 113 of file llprefsvoice.cpp.
References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), gDisableVoice, LLControlGroup::getBOOL(), gSavedSettings, and mPanel.
Referenced by LLPrefsVoice::draw(), LLFloaterVoiceWizard::draw(), and init().
Definition at line 185 of file llprefsvoice.cpp.
References gSavedSettings, mEatNextSetKeyClick, LLControlGroup::setString(), LLKeyboard::stringFromKey(), and TRUE.
Referenced by LLVoiceHotkeySelectDialog::handleKey().
| S32 LLPrefsVoiceLogic::mEarLocation  [protected] | 
| BOOL LLPrefsVoiceLogic::mEatNextSetKeyClick  [protected] | 
| BOOL LLPrefsVoiceLogic::mEnablePushToTalk  [protected] | 
| BOOL LLPrefsVoiceLogic::mEnableVoice  [protected] | 
| std::string LLPrefsVoiceLogic::mModifier  [protected] | 
| LLPanel* LLPrefsVoiceLogic::mPanel  [protected] | 
| BOOL LLPrefsVoiceLogic::mPushToTalkToggle  [protected] | 
| BOOL LLPrefsVoiceLogic::mVoiceCallsFriendsOnly  [protected] | 
 1.4.7
 1.4.7