aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelweb.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/newview/llpanelweb.h
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelweb.h54
1 files changed, 16 insertions, 38 deletions
diff --git a/linden/indra/newview/llpanelweb.h b/linden/indra/newview/llpanelweb.h
index 0703f90..48b0742 100644
--- a/linden/indra/newview/llpanelweb.h
+++ b/linden/indra/newview/llpanelweb.h
@@ -30,53 +30,31 @@
30#define LL_LLPANELWEB_H 30#define LL_LLPANELWEB_H
31 31
32#include "llpanel.h" 32#include "llpanel.h"
33#include "llviewerthrottle.h"
33 34
34class LLScrollListCtrl;
35class LLCheckBoxCtrl; 35class LLCheckBoxCtrl;
36class LLLineEditor; 36class LLButton;
37class LLRadioGroup;
38//class LLButton;
39 37
40class LLPanelWeb : public LLPanel 38class LLPanelWeb : public LLPanel
41{ 39{
42public: 40public:
43 LLPanelWeb(); 41 LLPanelWeb();
44 virtual ~LLPanelWeb(){}; 42 virtual ~LLPanelWeb();
45 43
46 virtual BOOL postBuild(); 44 virtual BOOL postBuild();
47 45 virtual void refresh();
48 void apply(); 46 virtual void apply(); // Apply the changed values.
49 void cancel(); 47 virtual void cancel(); // Cancel the changed values.
50 48
51 void loadTrustedSiteList (); 49private:
52 void saveTrustedSiteList (); 50 static void onClickClearCache(void*);
53 51 static void onClickClearCookies(void*);
54 void configProxyEnabledUI ( BOOL enabled ); 52 static void callback_clear_browser_cache(S32 option, void* userdata);
55 static void onCommitProxyEnabled ( LLUICtrl* ctrl, void* data ); 53 static void callback_clear_cookies(S32 option, void* userdata);
56 54 static void onCommitCookies(LLUICtrl* ctrl, void* data);
57 void configExternaBrowserEnabledUI ( BOOL enabled ); 55
58 static void onCommitExternalBrowser ( LLUICtrl* ctrl, void* data ); 56private:
59 57 BOOL mCookiesEnabled;
60 static void onTrustedSiteListCommit ( LLUICtrl* ctrl, void* data );
61 static void onTrustedSiteEntryFocusChange ( LLUICtrl* ctrl, void* data );
62 static void onTrustedSiteEntryKeystroke ( LLLineEditor* caller, void* data );
63 static void onAddTrustedSite ( void* data );
64 static void onRemTrustedSite ( void* data );
65
66protected:
67 BOOL mLoggedIn;
68 LLCheckBoxCtrl* mExternalBrowserCheck;
69 LLLineEditor* mBrowserHomePage;
70 LLCheckBoxCtrl* mWebPagesOnPrimsCheck;
71 LLScrollListCtrl* mTrustedSitesList;
72 LLCheckBoxCtrl* mProxyEnabled;
73 LLLineEditor* mProxyAddress;
74 LLLineEditor* mProxyPort;
75 LLRadioGroup* mProxySocks45;
76 LLLineEditor* mProxyExclusions;
77 LLButton* mAddTrustedSite;
78 LLLineEditor* mTrustedSiteEntry;
79 LLButton* mRemTrustedSite;
80}; 58};
81 59
82#endif 60#endif