diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-09-01 13:01:08 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-09-01 13:01:08 -0400 |
commit | 54399f1f87af40633035df9ec1cbadf139844621 (patch) | |
tree | 53b96f4793c3083f3e91b6b35496aaa0455b778e | |
parent | 71aec7439c1a8027880ac06d99f923ab8fa7111b (diff) |
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().
-rw-r--r-- | indra/llxml/llcontrol.h | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |