]> git.saurik.com Git - apple/icu.git/blob - icuSources/common/aaplbfct.h
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / common / aaplbfct.h
1 /**
2 ************************************************************************************
3 * Copyright (C) 2006-2007,2012 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 #include "dictbe.h"
17
18 U_NAMESPACE_BEGIN
19
20 class AppleLanguageBreakFactory : public ICULanguageBreakFactory {
21 public:
22
23 /**
24 * <p>Standard constructor.</p>
25 *
26 */
27 AppleLanguageBreakFactory(UErrorCode &status);
28
29 /**
30 * <p>Virtual destructor.</p>
31 */
32 virtual ~AppleLanguageBreakFactory();
33
34 protected:
35
36 /**
37 * <p>Create a DictionaryMatcher for the specified script and break type.</p>
38 * @param script An ISO 15924 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 DictionaryMatcher with the desired characteristics, or NULL.
43 */
44 virtual DictionaryMatcher *loadDictionaryMatcherFor(UScriptCode script, int32_t breakType);
45
46 };
47
48 U_NAMESPACE_END
49
50 /* AAPLBFCT_H */
51 #endif