2 ************************************************************************************
3 * Copyright (C) 2006-2007, 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"
19 class AppleLanguageBreakFactory
: public ICULanguageBreakFactory
{
23 * <p>Standard constructor.</p>
26 AppleLanguageBreakFactory(UErrorCode
&status
);
29 * <p>Virtual destructor.</p>
31 virtual ~AppleLanguageBreakFactory();
36 * <p>Create a CompactTrieDictionary for the specified script and break type.</p>
38 * @param script A script code that identifies the dictionary to be
40 * @param breakType The kind of text break for which a dictionary is
42 * @return A CompactTrieDictionary with the desired characteristics, or 0.
44 virtual const CompactTrieDictionary
*loadDictionaryFor(UScriptCode script
, int32_t breakType
);