diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-05-12 08:21:30 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-05-12 08:21:30 -0400 |
commit | 7a00574163029c0c2b649878c95d5acbd083564a (patch) | |
tree | c13cc5736025834df2874ed87ee8598070025ea6 /include/utf8transliterator.h | |
parent | b745315323de9f27538edac9453205ca70e6186e (diff) |
Imported Upstream version 1.7.2+dfsg
Diffstat (limited to 'include/utf8transliterator.h')
-rw-r--r-- | include/utf8transliterator.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/include/utf8transliterator.h b/include/utf8transliterator.h index d3b23c7..130a519 100644 --- a/include/utf8transliterator.h +++ b/include/utf8transliterator.h @@ -1,8 +1,10 @@ /****************************************************************************** * - * $Id: utf8transliterator.h 2473 2009-10-26 06:06:09Z chrislit $ + * utf8transliterator.h - Implementation of UTF8Transliterator * - * Copyright 2001 CrossWire Bible Society (http://www.crosswire.org) + * $Id: utf8transliterator.h 2906 2013-07-17 22:34:43Z chrislit $ + * + * Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society * P. O. Box 2528 * Tempe, AZ 85280-2528 @@ -54,10 +56,6 @@ struct SWTransData { typedef std::map<const UnicodeString, SWTransData> SWTransMap; typedef std::pair<UnicodeString, SWTransData> SWTransPair; -// Chris, please add more javadoc-style documentation in this header file -// so that the information will show up in the doxygen-generated -// api-docs. - /** This Filter uses ICU for transliteration */ class SWDLLEXPORT UTF8Transliterator : public SWOptionFilter { @@ -69,17 +67,20 @@ private: static const char optName[]; static const char optTip[]; + StringList options; + +#ifdef ICU_CUSTOM_RESOURCE_BUILDING static const char SW_RB_RULE_BASED_IDS[]; static const char SW_RB_RULE[]; static const char SW_RESDATA[]; - StringList options; static SWTransMap transMap; UErrorCode utf8status; void Load(UErrorCode &status); - void registerTrans(const UnicodeString& ID, const UnicodeString& resource, UTransDirection dir, UErrorCode &status); - bool addTrans(const char* newTrans, SWBuf* transList); + void registerTrans(const UnicodeString& ID, const UnicodeString& resource, UTransDirection dir, UErrorCode &status); bool checkTrans(const UnicodeString& ID, UErrorCode &status); +#endif + bool addTrans(const char* newTrans, SWBuf* transList); Transliterator *createTrans(const UnicodeString& ID, UTransDirection dir, UErrorCode &status); public: |