diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-07-06 15:49:32 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-07-06 15:49:32 -0400 |
commit | 419bfb16fdd9b79d32736fd80652685a07f9e39f (patch) | |
tree | 4afafc0665ca3b486e2507369d9d214d40abf9ac /indra/llui/lltextutil.h | |
parent | ced040f8aef5a764c2e6fb261d5bbecd4df75064 (diff) | |
parent | 7de36b3d4217f5ceee8b46a59983229b7af35981 (diff) |
automated merge
Diffstat (limited to 'indra/llui/lltextutil.h')
-rw-r--r-- | indra/llui/lltextutil.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/llui/lltextutil.h b/indra/llui/lltextutil.h index 325c3c5b7c..407880d195 100644 --- a/indra/llui/lltextutil.h +++ b/indra/llui/lltextutil.h @@ -36,6 +36,8 @@ #include "llstyle.h" class LLTextBox; +class LLUrlMatch; +class LLTextBase; namespace LLTextUtil { @@ -67,6 +69,19 @@ namespace LLTextUtil * @return reference to string with formatted phone number */ const std::string& formatPhoneNumber(const std::string& phone_str); + + bool processUrlMatch(LLUrlMatch* match,LLTextBase* text_base); + + class TextHelpers + { + + //we need this special callback since we need to create LLAvataIconCtrls while parsing + //avatar/group url but can't create LLAvataIconCtrl from LLUI + public: + static boost::function<bool(LLUrlMatch*,LLTextBase*)> iconCallbackCreationFunction; + }; + + } #endif // LL_LLTEXTUTIL_H |