]>
git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/csrecog.h
2 **********************************************************************
3 * Copyright (C) 2005-2006, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
11 #include "unicode/uobject.h"
13 #if !UCONFIG_NO_CONVERSION
19 class CharsetRecognizer
: public UMemory
23 * Get the IANA name of this charset.
24 * @return the charset name.
26 virtual const char *getName() const = 0;
29 * Get the ISO language code for this charset.
30 * @return the language code, or <code>null</code> if the language cannot be determined.
32 virtual const char *getLanguage() const;
34 virtual int32_t match(InputText
*textIn
) = 0;
36 virtual ~CharsetRecognizer();
42 #endif /* __CSRECOG_H */