]> git.saurik.com Git - apple/icu.git/blob - icuSources/common/aaplbfct.h
ICU-400.42.tar.gz
[apple/icu.git] / icuSources / common / aaplbfct.h
1 /**
2 ************************************************************************************
3 * Copyright (C) 2006-2007, International Business Machines Corporation and others. *
4 * All Rights Reserved. *
5 ************************************************************************************
6 */
7
8 #ifndef AAPLBFCT_H
9 #define AAPLBFCT_H
10
11 #include "unicode/utypes.h"
12 #include "unicode/uobject.h"
13 #include "unicode/utext.h"
14 #include "unicode/uscript.h"
15 #include "brkeng.h"
16
17 U_NAMESPACE_BEGIN
18
19 class AppleLanguageBreakFactory : public ICULanguageBreakFactory {
20 public:
21
22 /**
23 * <p>Standard constructor.</p>
24 *
25 */
26 AppleLanguageBreakFactory(UErrorCode &status);
27
28 /**
29 * <p>Virtual destructor.</p>
30 */
31 virtual ~AppleLanguageBreakFactory();
32
33 protected:
34
35 /**
36 * <p>Create a CompactTrieDictionary for the specified script and break type.</p>
37 *
38 * @param script A script code that identifies the dictionary to be
39 * created.
40 * @param breakType The kind of text break for which a dictionary is
41 * sought.
42 * @return A CompactTrieDictionary with the desired characteristics, or 0.
43 */
44 virtual const CompactTrieDictionary *loadDictionaryFor(UScriptCode script, int32_t breakType);
45
46 };
47
48 U_NAMESPACE_END
49
50 /* AAPLBFCT_H */
51 #endif