

Public Member Functions | |
| LLPrefsIMImpl () | |
| ~LLPrefsIMImpl () | |
| BOOL | postBuild () |
| void | apply () |
| void | refresh () |
| void | cancel () |
| void | setPersonalInfo (const std::string &visibility, bool im_via_email, const std::string &email) |
| void | enableHistory () |
Static Public Member Functions | |
| static void | onClickLogPath (void *user_data) |
| static void | onCommitLogging (LLUICtrl *ctrl, void *user_data) |
Protected Attributes | |
| BOOL | mIMInChatHistory |
| BOOL | mLogInstantMessages |
| BOOL | mLogChat |
| BOOL | mLogShowHistory |
| BOOL | mShowTimestamps |
| BOOL | mIMLogTimestamp |
| BOOL | mLogChatTimestamp |
| BOOL | mLogIMChat |
| BOOL | mLogTimestampDate |
| LLString | mIMBusyResponse |
| LLString | mLogPath |
| bool | mGotPersonalInfo |
| bool | mOriginalIMViaEmail |
| bool | mOriginalHideOnlineStatus |
| std::string | mDirectoryVisibility |
Definition at line 49 of file llprefsim.cpp.
| LLPrefsIMImpl::LLPrefsIMImpl | ( | ) |
Definition at line 91 of file llprefsim.cpp.
References LLUICtrlFactory::buildPanel(), and LLSingleton< LLUICtrlFactory >::getInstance().

| LLPrefsIMImpl::~LLPrefsIMImpl | ( | ) | [inline] |
Definition at line 53 of file llprefsim.cpp.
| BOOL LLPrefsIMImpl::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 127 of file llprefsim.cpp.
References LLPanel::checkRequirements(), LLPanel::childDisable(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetLabelArg(), LLPanel::childSetText(), LLPanel::childSetValue(), FALSE, LLPanel::getString(), mGotPersonalInfo, mIMLogTimestamp, mLogChat, mLogChatTimestamp, mLogIMChat, mLogInstantMessages, mLogPath, mLogShowHistory, mLogTimestampDate, mOriginalHideOnlineStatus, mOriginalIMViaEmail, onClickLogPath(), onCommitLogging(), refresh(), LLPanel::requires(), and TRUE.

| void LLPrefsIMImpl::apply | ( | ) |
Definition at line 188 of file llprefsim.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_IMViaEMail, _PREHASH_SessionID, _PREHASH_UpdateUserInfo, _PREHASH_UserData, LLMessageSystem::addBOOLFast(), LLMessageSystem::addString(), LLMessageSystem::addUUIDFast(), LLSD::asBoolean(), LLPanel::childGetText(), LLPanel::childGetValue(), gAgent, gDirUtilp, LLAgent::getID(), LLDir::getPerAccountChatLogsDir(), LLAgent::getSessionID(), LLControlGroup::getString(), LLTextEditor::getWText(), gMessageSystem, gSavedPerAccountSettings, gSavedSettings, mDirectoryVisibility, mGotPersonalInfo, LLFile::mkdir(), mOriginalHideOnlineStatus, mOriginalIMViaEmail, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLStringBase< T >::replaceChar(), LLStringBase< T >::replaceTabsWithSpaces(), LLAgent::sendReliableMessage(), LLControlGroup::setBOOL(), LLDir::setChatLogsDir(), LLDir::setPerAccountChatLogsDir(), LLControlGroup::setString(), VISIBILITY_DEFAULT(), VISIBILITY_HIDDEN(), and wstring_to_utf8str().
Referenced by LLPrefsIM::apply().


| void LLPrefsIMImpl::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 97 of file llprefsim.cpp.
References LLControlGroup::getBOOL(), LLControlGroup::getString(), gSavedPerAccountSettings, gSavedSettings, mIMBusyResponse, mIMInChatHistory, mIMLogTimestamp, mLogChat, mLogChatTimestamp, mLogIMChat, mLogInstantMessages, mLogPath, mLogShowHistory, mLogTimestampDate, and mShowTimestamps.
Referenced by postBuild().


| void LLPrefsIMImpl::cancel | ( | ) |
Definition at line 112 of file llprefsim.cpp.
References gSavedPerAccountSettings, gSavedSettings, mIMBusyResponse, mIMInChatHistory, mIMLogTimestamp, mLogChat, mLogChatTimestamp, mLogIMChat, mLogInstantMessages, mLogPath, mLogShowHistory, mLogTimestampDate, mShowTimestamps, LLControlGroup::setBOOL(), and LLControlGroup::setString().
Referenced by LLPrefsIM::cancel().


| void LLPrefsIMImpl::setPersonalInfo | ( | const std::string & | visibility, | |
| bool | im_via_email, | |||
| const std::string & | ||||
| ) |
Definition at line 248 of file llprefsim.cpp.
References LLPanel::childEnable(), LLPanel::childSetLabelArg(), LLPanel::childSetText(), LLPanel::childSetValue(), enableHistory(), LLControlGroup::getString(), gSavedPerAccountSettings, mDirectoryVisibility, mGotPersonalInfo, mOriginalHideOnlineStatus, mOriginalIMViaEmail, LLStringBase< T >::replaceChar(), utf8str_to_wstring(), VISIBILITY_DEFAULT(), VISIBILITY_HIDDEN(), and wstring_to_utf8str().
Referenced by LLPrefsIM::setPersonalInfo().


| void LLPrefsIMImpl::enableHistory | ( | ) |
Definition at line 173 of file llprefsim.cpp.
References LLPanel::childDisable(), LLPanel::childEnable(), and LLPanel::childGetValue().
Referenced by setPersonalInfo().


| void LLPrefsIMImpl::onClickLogPath | ( | void * | user_data | ) | [static] |
Definition at line 304 of file llprefsim.cpp.
References LLDirPicker::instance().
Referenced by postBuild().


| void LLPrefsIMImpl::onCommitLogging | ( | LLUICtrl * | ctrl, | |
| void * | user_data | |||
| ) | [static] |
Definition at line 321 of file llprefsim.cpp.
Referenced by postBuild().

BOOL LLPrefsIMImpl::mIMInChatHistory [protected] |
BOOL LLPrefsIMImpl::mLogInstantMessages [protected] |
BOOL LLPrefsIMImpl::mLogChat [protected] |
BOOL LLPrefsIMImpl::mLogShowHistory [protected] |
BOOL LLPrefsIMImpl::mShowTimestamps [protected] |
BOOL LLPrefsIMImpl::mIMLogTimestamp [protected] |
BOOL LLPrefsIMImpl::mLogChatTimestamp [protected] |
BOOL LLPrefsIMImpl::mLogIMChat [protected] |
BOOL LLPrefsIMImpl::mLogTimestampDate [protected] |
LLString LLPrefsIMImpl::mIMBusyResponse [protected] |
LLString LLPrefsIMImpl::mLogPath [protected] |
bool LLPrefsIMImpl::mGotPersonalInfo [protected] |
Definition at line 82 of file llprefsim.cpp.
Referenced by apply(), postBuild(), and setPersonalInfo().
bool LLPrefsIMImpl::mOriginalIMViaEmail [protected] |
Definition at line 83 of file llprefsim.cpp.
Referenced by apply(), postBuild(), and setPersonalInfo().
bool LLPrefsIMImpl::mOriginalHideOnlineStatus [protected] |
Definition at line 86 of file llprefsim.cpp.
Referenced by apply(), postBuild(), and setPersonalInfo().
std::string LLPrefsIMImpl::mDirectoryVisibility [protected] |
1.5.5