]> git.saurik.com Git - apple/icu.git/blame - icuSources/common/aaplbfct.h
ICU-57165.0.1.tar.gz
[apple/icu.git] / icuSources / common / aaplbfct.h
CommitLineData
73c04bcf
A
1/**
2 ************************************************************************************
51004dcb 3 * Copyright (C) 2006-2007,2012 International Business Machines Corporation and others. *
73c04bcf
A
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"
51004dcb 16#include "dictbe.h"
73c04bcf
A
17
18U_NAMESPACE_BEGIN
19
20class 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
51004dcb
A
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);
73c04bcf
A
45
46};
47
48U_NAMESPACE_END
49
50 /* AAPLBFCT_H */
51#endif