LLPanelNetwork Class Reference

#include <llpanelnetwork.h>

Inheritance diagram for LLPanelNetwork:

Inheritance graph
[legend]
Collaboration diagram for LLPanelNetwork:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelNetwork ()
virtual ~LLPanelNetwork ()
virtual BOOL postBuild ()
virtual void refresh ()
virtual void apply ()
virtual void cancel ()

Static Private Member Functions

static void onClickClearCache (void *)
static void onClickSetCache (void *)
static void onClickResetCache (void *)
static void onCommitPort (LLUICtrl *ctrl, void *)

Private Attributes

U32 mCacheSetting
F32 mBandwidthBPS
BOOL mConnectionPortEnabled
U32 mConnectionPort

Detailed Description

Definition at line 45 of file llpanelnetwork.h.


Constructor & Destructor Documentation

LLPanelNetwork::LLPanelNetwork (  ) 

Definition at line 59 of file llpanelnetwork.cpp.

References LLUICtrlFactory::buildPanel(), and gUICtrlFactory.

LLPanelNetwork::~LLPanelNetwork (  )  [virtual]

Definition at line 83 of file llpanelnetwork.cpp.


Member Function Documentation

void LLPanelNetwork::apply (  )  [virtual]

Definition at line 89 of file llpanelnetwork.cpp.

Referenced by LLPreferenceCore::apply().

void LLPanelNetwork::cancel (  )  [virtual]

Definition at line 103 of file llpanelnetwork.cpp.

References gSavedSettings, mBandwidthBPS, mCacheSetting, mConnectionPort, mConnectionPortEnabled, LLControlGroup::setBOOL(), LLControlGroup::setF32(), and LLControlGroup::setU32().

Referenced by LLPreferenceCore::cancel().

void LLPanelNetwork::onClickClearCache ( void  )  [static, private]

Definition at line 112 of file llpanelnetwork.cpp.

References LLViewerWindow::alertXml(), gSavedSettings, gViewerWindow, LLControlGroup::setBOOL(), and TRUE.

Referenced by postBuild().

void LLPanelNetwork::onClickResetCache ( void  )  [static, private]

Definition at line 148 of file llpanelnetwork.cpp.

References LLViewerWindow::alertXml(), gDirUtilp, LLDir::getCacheDir(), LLControlGroup::getString(), gSavedSettings, gViewerWindow, and LLControlGroup::setString().

Referenced by postBuild().

void LLPanelNetwork::onClickSetCache ( void  )  [static, private]

Definition at line 120 of file llpanelnetwork.cpp.

References LLViewerWindow::alertXml(), gDirUtilp, LLDir::getCacheDir(), LLDirPicker::getDir(), LLDirPicker::getDirName(), LLControlGroup::getString(), gSavedSettings, gViewerWindow, LLDirPicker::instance(), and LLControlGroup::setString().

Referenced by postBuild().

void LLPanelNetwork::onCommitPort ( LLUICtrl ctrl,
void  
) [static, private]

Definition at line 161 of file llpanelnetwork.cpp.

References LLViewerWindow::alertXml(), LLCheckBoxCtrl::get(), and gViewerWindow.

Referenced by postBuild().

BOOL LLPanelNetwork::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 64 of file llpanelnetwork.cpp.

References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetEnabled(), LLPanel::childSetText(), gDirUtilp, LLControlGroup::getBOOL(), LLDir::getExpandedFilename(), gSavedSettings, LL_PATH_CACHE, onClickClearCache(), onClickResetCache(), onClickSetCache(), onCommitPort(), refresh(), and TRUE.

void LLPanelNetwork::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 93 of file llpanelnetwork.cpp.

References LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLControlGroup::getU32(), gSavedSettings, mBandwidthBPS, mCacheSetting, mConnectionPort, mConnectionPortEnabled, and LLPanel::refresh().

Referenced by postBuild().


Member Data Documentation

F32 LLPanelNetwork::mBandwidthBPS [private]

Definition at line 64 of file llpanelnetwork.h.

Referenced by cancel(), and refresh().

U32 LLPanelNetwork::mCacheSetting [private]

Definition at line 63 of file llpanelnetwork.h.

Referenced by cancel(), and refresh().

U32 LLPanelNetwork::mConnectionPort [private]

Definition at line 66 of file llpanelnetwork.h.

Referenced by cancel(), and refresh().

BOOL LLPanelNetwork::mConnectionPortEnabled [private]

Definition at line 65 of file llpanelnetwork.h.

Referenced by cancel(), and refresh().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:37 2010 for Second Life Viewer by  doxygen 1.4.7