summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersidepanelcontainer.h
diff options
context:
space:
mode:
authorPaul ProductEngine <pguslisty@productengine.com>2011-09-27 22:06:56 +0300
committerPaul ProductEngine <pguslisty@productengine.com>2011-09-27 22:06:56 +0300
commit3c8b0ab537049141b5ce6201fdf611ff09784df4 (patch)
treec0f9649780e0b0490acf6a7b806a56f18f225431 /indra/newview/llfloatersidepanelcontainer.h
parent0cd1988ef7f6f0b0330938fc44c7e35004114609 (diff)
EXP-1226 FIXED (Create and register a floater for Appearance side tab)
- Added xml for a new floater Appearance and registred it in the floaterreg - Removed side tray dependencies - Added static helper method: LLFloaterSidePanelContainer::getPanel
Diffstat (limited to 'indra/newview/llfloatersidepanelcontainer.h')
-rw-r--r--indra/newview/llfloatersidepanelcontainer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfloatersidepanelcontainer.h b/indra/newview/llfloatersidepanelcontainer.h
index 7b4e7643ae..5c05f26f45 100644
--- a/indra/newview/llfloatersidepanelcontainer.h
+++ b/indra/newview/llfloatersidepanelcontainer.h
@@ -42,6 +42,9 @@
*/
class LLFloaterSidePanelContainer : public LLFloater
{
+private:
+ static const std::string sMainPanelName;
+
public:
LLFloaterSidePanelContainer(const LLSD& key, const Params& params = getDefaultParams());
~LLFloaterSidePanelContainer();
@@ -51,6 +54,8 @@ public:
LLPanel* openChildPanel(const std::string& panel_name, const LLSD& params);
static void showPanel(const std::string& floater_name, const LLSD& panel_name);
+
+ static LLPanel* getPanel(const std::string& floater_name, const std::string& panel_name = sMainPanelName);
};
#endif // LL_LLFLOATERSIDEPANELCONTAINER_H