#include <llfloatertos.h>
Inheritance diagram for LLFloaterTOS:
Public Types | |
TOS_TOS = 0 | |
TOS_CRITICAL_MESSAGE = 1 | |
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 227 of file llfloatertos.cpp.
References LLUICtrlFactory::getWebBrowserCtrlByName(), gResponsePtr, NULL, and sInstance.
LLFloaterTOS::LLFloaterTOS | ( | ETOSType | type, | |
const std::string & | message | |||
) | [private] |
void LLFloaterTOS::draw | ( | ) | [virtual] |
Reimplemented from LLModalDialog.
Definition at line 246 of file llfloatertos.cpp.
References LLModalDialog::draw().
Definition at line 288 of file llfloatertos.cpp.
References LLViewerWindow::alertXml(), gViewerWindow, llendl, llinfos, login_alert_done(), LLStartUp::setStartupState(), and STATE_LOGIN_SHOW.
Referenced by postBuild().
Definition at line 261 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().
Definition at line 299 of file llfloatertos.cpp.
References LLUICtrlFactory::getRadioGroupByName(), llendl, llinfos, mLoadCompleteCount, and LLRadioGroup::setEnabled().
BOOL LLFloaterTOS::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 126 of file llfloatertos.cpp.
References LLIamHere::build(), LLPanel::childGetValue(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetValue(), FALSE, LLHTTPClient::get(), LLUICtrlFactory::getRadioGroupByName(), LLUICtrlFactory::getTextEditorByName(), LLUICtrlFactory::getWebBrowserCtrlByName(), 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::setSiteIsAlive | ( | bool | alive | ) |
Definition at line 191 of file llfloatertos.cpp.
References LLPanel::childGetValue(), FALSE, LLUICtrlFactory::getRadioGroupByName(), LLUICtrlFactory::getWebBrowserCtrlByName(), mType, LLRadioGroup::setEnabled(), and TOS_TOS.
Referenced by LLIamHere::error(), and LLIamHere::result().
LLFloaterTOS * LLFloaterTOS::show | ( | ETOSType | type, | |
const std::string & | message | |||
) | [static] |
Definition at line 56 of file llfloatertos.cpp.
References LLUICtrlFactory::buildFloater(), gUICtrlFactory, LLFloaterTOS(), sInstance, and TOS_TOS.
Referenced by LLPanelLogin::handleKeyHere(), and idle_startup().
int LLFloaterTOS::mLoadCompleteCount [private] |
LLString LLFloaterTOS::mMessage [private] |
ETOSType LLFloaterTOS::mType [private] |
int LLFloaterTOS::mWebBrowserWindowId [private] |
Definition at line 81 of file llfloatertos.h.
LLFloaterTOS * LLFloaterTOS::sInstance = NULL [static, private] |