#include <llpanelweb.h>


Public Member Functions | |
| LLPanelWeb () | |
| virtual | ~LLPanelWeb () |
| virtual BOOL | postBuild () |
| virtual void | refresh () |
| virtual void | apply () |
| virtual void | cancel () |
Static Private Member Functions | |
| static void | onClickClearCache (void *) |
| static void | onClickClearCookies (void *) |
| static void | callback_clear_browser_cache (S32 option, void *userdata) |
| static void | callback_clear_cookies (S32 option, void *userdata) |
| static void | onCommitCookies (LLUICtrl *ctrl, void *data) |
| static void | onCommitWebProxyEnabled (LLUICtrl *ctrl, void *data) |
| static void | onCommitWebProxyAddress (LLUICtrl *ctrl, void *userdata) |
| static void | onCommitWebProxyPort (LLUICtrl *ctrl, void *userdata) |
| static void | onSelectBrowser (LLUICtrl *ctrl, void *data) |
Private Attributes | |
| BOOL | mCookiesEnabled |
| BOOL | mWebProxyEnabled |
| LLString | mWebProxyAddress |
| S32 | mWebProxyPort |
| BOOL | mExternalBrowser |
Definition at line 41 of file llpanelweb.h.
| LLPanelWeb::LLPanelWeb | ( | ) |
Definition at line 93 of file llpanelweb.cpp.
References LLUICtrlFactory::buildPanel(), and LLSingleton< LLUICtrlFactory >::getInstance().

| LLPanelWeb::~LLPanelWeb | ( | ) | [virtual] |
Definition at line 123 of file llpanelweb.cpp.
| BOOL LLPanelWeb::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 98 of file llpanelweb.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetEnabled(), LLControlGroup::getBOOL(), gSavedSettings, onClickClearCache(), onClickClearCookies(), onCommitCookies(), onCommitWebProxyAddress(), onCommitWebProxyEnabled(), onCommitWebProxyPort(), onSelectBrowser(), refresh(), and TRUE.

| void LLPanelWeb::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 132 of file llpanelweb.cpp.
References LLPanel::childSetValue(), LLMediaBase::enableCookies(), free_web_media(), get_web_media(), LLControlGroup::getBOOL(), LLControlGroup::getS32(), LLControlGroup::getString(), gSavedSettings, mCookiesEnabled, mExternalBrowser, mWebProxyAddress, mWebProxyEnabled, mWebProxyPort, LLPanel::refresh(), and LLLineEditor::setText().
Referenced by postBuild().


| void LLPanelWeb::apply | ( | ) | [virtual] |
Definition at line 128 of file llpanelweb.cpp.
Referenced by LLPreferenceCore::apply().

| void LLPanelWeb::cancel | ( | ) | [virtual] |
Definition at line 157 of file llpanelweb.cpp.
References LLMediaBase::enableCookies(), LLMediaBase::enableProxy(), free_web_media(), get_web_media(), gSavedSettings, mCookiesEnabled, mExternalBrowser, mWebProxyAddress, mWebProxyEnabled, mWebProxyPort, LLControlGroup::setBOOL(), LLControlGroup::setS32(), and LLControlGroup::setString().
Referenced by LLPreferenceCore::cancel().


| void LLPanelWeb::onClickClearCache | ( | void * | ) | [static, private] |
Definition at line 177 of file llpanelweb.cpp.
References LLViewerWindow::alertXml(), callback_clear_browser_cache(), and gViewerWindow.
Referenced by postBuild().


| void LLPanelWeb::onClickClearCookies | ( | void * | ) | [static, private] |
Definition at line 195 of file llpanelweb.cpp.
References LLViewerWindow::alertXml(), callback_clear_cookies(), and gViewerWindow.
Referenced by postBuild().


| void LLPanelWeb::callback_clear_browser_cache | ( | S32 | option, | |
| void * | userdata | |||
| ) | [static, private] |
Definition at line 183 of file llpanelweb.cpp.
References LLMediaBase::clearCache(), free_web_media(), and get_web_media().
Referenced by onClickClearCache().


| void LLPanelWeb::callback_clear_cookies | ( | S32 | option, | |
| void * | userdata | |||
| ) | [static, private] |
Definition at line 201 of file llpanelweb.cpp.
References LLMediaBase::clearCookies(), free_web_media(), and get_web_media().
Referenced by onClickClearCookies().


| void LLPanelWeb::onCommitCookies | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, private] |
Definition at line 213 of file llpanelweb.cpp.
References LLMediaBase::enableCookies(), free_web_media(), LLCheckBoxCtrl::get(), and get_web_media().
Referenced by postBuild().


| void LLPanelWeb::onCommitWebProxyEnabled | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, private] |
Definition at line 226 of file llpanelweb.cpp.
References LLMediaBase::enableProxy(), free_web_media(), LLCheckBoxCtrl::get(), get_web_media(), LLControlGroup::getBOOL(), LLControlGroup::getS32(), LLControlGroup::getString(), and gSavedSettings.
Referenced by postBuild().


| void LLPanelWeb::onCommitWebProxyAddress | ( | LLUICtrl * | ctrl, | |
| void * | userdata | |||
| ) | [static, private] |
Definition at line 250 of file llpanelweb.cpp.
References LLMediaBase::enableProxy(), free_web_media(), get_web_media(), LLControlGroup::getBOOL(), LLControlGroup::getS32(), LLControlGroup::getString(), LLLineEditor::getText(), gSavedSettings, and LLControlGroup::setString().
Referenced by postBuild().


| void LLPanelWeb::onCommitWebProxyPort | ( | LLUICtrl * | ctrl, | |
| void * | userdata | |||
| ) | [static, private] |
Definition at line 268 of file llpanelweb.cpp.
References LLMediaBase::enableProxy(), free_web_media(), get_web_media(), LLControlGroup::getBOOL(), LLControlGroup::getS32(), LLControlGroup::getString(), and gSavedSettings.
Referenced by postBuild().


| void LLPanelWeb::onSelectBrowser | ( | LLUICtrl * | ctrl, | |
| void * | data | |||
| ) | [static, private] |
Definition at line 281 of file llpanelweb.cpp.
References LLSD::asString(), LLUICtrl::getValue(), gSavedSettings, and LLControlGroup::setBOOL().
Referenced by postBuild().


BOOL LLPanelWeb::mCookiesEnabled [private] |
BOOL LLPanelWeb::mWebProxyEnabled [private] |
LLString LLPanelWeb::mWebProxyAddress [private] |
S32 LLPanelWeb::mWebProxyPort [private] |
BOOL LLPanelWeb::mExternalBrowser [private] |
1.5.5