summaryrefslogtreecommitdiff
path: root/indra/llui/llfloaterreg.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-06 21:57:46 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-06 21:57:46 +0300
commitcb42bc2823931b84ce079423a471a332dc332b0c (patch)
tree357fa813f6cd435ed85d97b727fd3d0f2266154c /indra/llui/llfloaterreg.cpp
parentcfb6ca569b2c834520ce50564e857dfc06831675 (diff)
SL-15168 Viewer side functionality for guidebook window opening #2
Diffstat (limited to 'indra/llui/llfloaterreg.cpp')
-rw-r--r--indra/llui/llfloaterreg.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp
index 7c0933f554..36a0cb0fd0 100644
--- a/indra/llui/llfloaterreg.cpp
+++ b/indra/llui/llfloaterreg.cpp
@@ -58,6 +58,12 @@ void LLFloaterReg::add(const std::string& name, const std::string& filename, con
}
//static
+bool LLFloaterReg::isRegistered(const std::string& name)
+{
+ return sBuildMap.find(name) != sBuildMap.end();
+}
+
+//static
LLFloater* LLFloaterReg::getLastFloaterInGroup(const std::string& name)
{
const std::string& groupname = sGroupMap[name];