diff options
Diffstat (limited to 'indra/newview/llfloatersettingsdebug.h')
-rw-r--r-- | indra/newview/llfloatersettingsdebug.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/indra/newview/llfloatersettingsdebug.h b/indra/newview/llfloatersettingsdebug.h index e08e6b5d74..87833793af 100644 --- a/indra/newview/llfloatersettingsdebug.h +++ b/indra/newview/llfloatersettingsdebug.h @@ -37,10 +37,14 @@ #include "llfloater.h" #include "lltexteditor.h" -class LLFloaterSettingsDebug : public LLFloater +class LLFloaterSettingsDebug +: public LLFloater, + public LLFloaterSingleton<LLFloaterSettingsDebug> { public: - LLFloaterSettingsDebug(); + // key - selects which settings to show, one of: + // "all", "base", "account", "skin" + LLFloaterSettingsDebug(const LLSD& key); virtual ~LLFloaterSettingsDebug(); virtual BOOL postBuild(); @@ -48,13 +52,11 @@ public: void updateControl(LLControlVariable* control); - static void show(void*); - static void onSettingSelect(LLUICtrl* ctrl, void* user_data); - static void onCommitSettings(LLUICtrl* ctrl, void* user_data); - static void onClickDefault(void* user_data); + void onSettingSelect(LLUICtrl* ctrl); + void onCommitSettings(); + void onClickDefault(); protected: - static LLFloaterSettingsDebug* sInstance; LLTextEditor* mComment; }; |