From 54399f1f87af40633035df9ec1cbadf139844621 Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Thu, 1 Sep 2011 13:01:08 -0400
Subject: CHOP-763: publish LLControlGroup::typeStringToEnum(),
 typeEnumToString() These LLControlGroup methods were marked 'protected'. But
 they're important for introspection: LLControlVariable::type() returns an
 eControlType; understanding that value outside a C++ context requires
 typeEnumToString().

---
 indra/llxml/llcontrol.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'indra/llxml')

diff --git a/indra/llxml/llcontrol.h b/indra/llxml/llcontrol.h
index e402061e1f..31eb59c16e 100644
--- a/indra/llxml/llcontrol.h
+++ b/indra/llxml/llcontrol.h
@@ -185,9 +185,10 @@ protected:
 	ctrl_name_table_t mNameTable;
 	std::string mTypeString[TYPE_COUNT];
 
+public:
 	eControlType typeStringToEnum(const std::string& typestr);
 	std::string typeEnumToString(eControlType typeenum);	
-public:
+
 	LLControlGroup(const std::string& name);
 	~LLControlGroup();
 	void cleanup();
-- 
cgit v1.2.3