LLFloaterTOS Class Reference

#include <llfloatertos.h>

Inheritance diagram for LLFloaterTOS:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterTOS:

Collaboration graph
[legend]

List of all members.

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 LLFloaterTOSshow (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 LLFloaterTOSsInstance = NULL


Detailed Description

Definition at line 45 of file llfloatertos.h.


Member Enumeration Documentation

Enumerator:
TOS_TOS 
TOS_CRITICAL_MESSAGE 

Definition at line 53 of file llfloatertos.h.


Constructor & Destructor Documentation

LLFloaterTOS::~LLFloaterTOS (  )  [virtual]

Definition at line 212 of file llfloatertos.cpp.

References LLWebBrowserCtrl::addObserver(), gResponsePtr, and NULL.

Here is the call graph for this function:

LLFloaterTOS::LLFloaterTOS ( ETOSType  type,
const std::string &  message 
) [private]

Definition at line 76 of file llfloatertos.cpp.

Referenced by show().

Here is the caller graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFloaterTOS::postBuild ( void   )  [virtual]

void LLFloaterTOS::draw ( void   )  [virtual]

Reimplemented from LLModalDialog.

Definition at line 229 of file llfloatertos.cpp.

References LLModalDialog::draw().

Here is the call graph for this function:

void LLFloaterTOS::updateAgree ( LLUICtrl ,
void *  userdata 
) [static]

Definition at line 236 of file llfloatertos.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:


Member Data Documentation

Definition at line 79 of file llfloatertos.h.

Referenced by postBuild(), and setSiteIsAlive().

Definition at line 80 of file llfloatertos.h.

Referenced by postBuild().

Definition at line 81 of file llfloatertos.h.

Definition at line 82 of file llfloatertos.h.

Referenced by onNavigateComplete().

LLFloaterTOS * LLFloaterTOS::sInstance = NULL [static, private]

Definition at line 84 of file llfloatertos.h.


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:46:51 2008 for SecondLife by  doxygen 1.5.5