00001 00032 #ifndef LL_LLPANELNETWORK_H 00033 #define LL_LLPANELNETWORK_H 00034 00035 #include "llpanel.h" 00036 #include "llviewerthrottle.h" 00037 00038 class LLSliderCtrl; 00039 class LLCheckBoxCtrl; 00040 class LLLineEditor; 00041 class LLTextBox; 00042 class LLRadioGroup; 00043 class LLButton; 00044 00045 class LLPanelNetwork : public LLPanel 00046 { 00047 public: 00048 LLPanelNetwork(); 00049 virtual ~LLPanelNetwork(); 00050 00051 virtual BOOL postBuild(); 00052 virtual void refresh(); 00053 virtual void apply(); // Apply the changed values. 00054 virtual void cancel(); // Cancel the changed values. 00055 00056 private: 00057 static void onClickClearCache(void*); 00058 static void onClickSetCache(void*); 00059 static void onClickResetCache(void*); 00060 static void onCommitPort(LLUICtrl* ctrl, void*); 00061 00062 private: 00063 U32 mCacheSetting; 00064 F32 mBandwidthBPS; 00065 BOOL mConnectionPortEnabled; 00066 U32 mConnectionPort; 00067 }; 00068 00069 #endif