#include <llfloatertos.h>


Public Types | |
| enum | ETOSType { TOS_TOS = 0, TOS_CRITICAL_MESSAGE = 1 } |
Public Member Functions | |
| virtual | ~LLFloaterTOS () |
| BOOL | postBuild () |
| virtual void | draw () |
| void | setSiteIsAlive (bool alive) |
| virtual void | onNavigateComplete (const EventType &eventIn) |
Static Public Member Functions | |
| static LLFloaterTOS * | show (ETOSType type, const std::string &message) |
| static void | updateAgree (LLUICtrl *, void *userdata) |
| static void | onContinue (void *userdata) |
| static void | onCancel (void *userdata) |
Private Member Functions | |
| LLFloaterTOS (ETOSType type, const std::string &message) | |
Private Attributes | |
| ETOSType | mType |
| LLString | mMessage |
| int | mWebBrowserWindowId |
| int | mLoadCompleteCount |
Static Private Attributes | |
| static LLFloaterTOS * | sInstance = NULL |
Definition at line 45 of file llfloatertos.h.
| LLFloaterTOS::~LLFloaterTOS | ( | ) | [virtual] |
Definition at line 212 of file llfloatertos.cpp.
References LLWebBrowserCtrl::addObserver(), gResponsePtr, and NULL.

| LLFloaterTOS::LLFloaterTOS | ( | ETOSType | type, | |
| const std::string & | message | |||
| ) | [private] |
Definition at line 76 of file llfloatertos.cpp.
Referenced by show().

| LLFloaterTOS * LLFloaterTOS::show | ( | ETOSType | type, | |
| const std::string & | message | |||
| ) | [static] |
Definition at line 56 of file llfloatertos.cpp.
References LLUICtrlFactory::buildFloater(), LLSingleton< LLUICtrlFactory >::getInstance(), LLFloaterTOS(), and TOS_TOS.
Referenced by LLPanelLogin::handleKeyHere(), and idle_startup().


| BOOL LLFloaterTOS::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 126 of file llfloatertos.cpp.
References LLWebBrowserCtrl::addObserver(), LLIamHere::build(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetValue(), FALSE, LLHTTPClient::get(), LLPanel::getString(), gResponsePtr, mMessage, mType, onCancel(), onContinue(), LLRadioGroup::setEnabled(), LLTextEditor::setEnabled(), LLTextEditor::setFocus(), LLTextEditor::setHandleEditKeysDirectly(), LLTextEditor::setReadOnlyFgColor(), LLView::setVisible(), LLTextEditor::setWordWrap(), TOS_TOS, TRUE, updateAgree(), and LLColor4::white.

| void LLFloaterTOS::draw | ( | void | ) | [virtual] |
Reimplemented from LLModalDialog.
Definition at line 229 of file llfloatertos.cpp.
References LLModalDialog::draw().

| void LLFloaterTOS::updateAgree | ( | LLUICtrl * | , | |
| void * | userdata | |||
| ) | [static] |
Definition at line 236 of file llfloatertos.cpp.
Referenced by postBuild().

| void LLFloaterTOS::onContinue | ( | void * | userdata | ) | [static] |
Definition at line 244 of file llfloatertos.cpp.
References gAcceptCriticalMessage, gAcceptTOS, LLStartUp::getStartupState(), llendl, llinfos, LLStartUp::setStartupState(), STATE_LOGIN_AUTH_INIT, STATE_LOGIN_SHOW, STATE_LOGIN_WAIT, TOS_TOS, and TRUE.
Referenced by postBuild().


| void LLFloaterTOS::onCancel | ( | void * | userdata | ) | [static] |
Definition at line 271 of file llfloatertos.cpp.
References LLViewerWindow::alertXml(), gViewerWindow, llendl, llinfos, login_alert_done(), LLStartUp::setStartupState(), and STATE_LOGIN_SHOW.
Referenced by postBuild().


| void LLFloaterTOS::setSiteIsAlive | ( | bool | alive | ) |
Definition at line 178 of file llfloatertos.cpp.
References FALSE, LLPanel::getString(), mType, LLWebBrowserCtrl::navigateTo(), LLRadioGroup::setEnabled(), LLView::setVisible(), and TOS_TOS.
Referenced by LLIamHere::result().


| void LLFloaterTOS::onNavigateComplete | ( | const EventType & | eventIn | ) | [virtual] |
Reimplemented from LLWebBrowserCtrlObserver.
Definition at line 282 of file llfloatertos.cpp.
References llendl, llinfos, mLoadCompleteCount, and LLRadioGroup::setEnabled().

ETOSType LLFloaterTOS::mType [private] |
LLString LLFloaterTOS::mMessage [private] |
int LLFloaterTOS::mWebBrowserWindowId [private] |
Definition at line 81 of file llfloatertos.h.
int LLFloaterTOS::mLoadCompleteCount [private] |
LLFloaterTOS * LLFloaterTOS::sInstance = NULL [static, private] |
Definition at line 84 of file llfloatertos.h.
1.5.5