2 ************************************************************************************
3 * Copyright (C) 2006-2007,2012 International Business Machines Corporation and others. *
4 * All Rights Reserved. *
5 ************************************************************************************
11 #include "unicode/utypes.h"
12 #include "unicode/uobject.h"
13 #include "unicode/utext.h"
14 #include "unicode/uscript.h"
20 class AppleLanguageBreakFactory
: public ICULanguageBreakFactory
{
24 * <p>Standard constructor.</p>
27 AppleLanguageBreakFactory(UErrorCode
&status
);
30 * <p>Virtual destructor.</p>
32 virtual ~AppleLanguageBreakFactory();
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
40 * @param breakType The kind of text break for which a dictionary is
42 * @return A DictionaryMatcher with the desired characteristics, or NULL.
44 virtual DictionaryMatcher
*loadDictionaryMatcherFor(UScriptCode script
, int32_t breakType
);