reactos/lib/3rdparty/icu4ros/icu/source/i18n/csmatch.h
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00

45 lines
882 B
C++

/*
**********************************************************************
* Copyright (C) 2005-2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
#ifndef __CSMATCH_H
#define __CSMATCH_H
#include "unicode/uobject.h"
#if !UCONFIG_NO_CONVERSION
U_NAMESPACE_BEGIN
class InputText;
class CharsetRecognizer;
class CharsetMatch : public UMemory
{
private:
CharsetRecognizer *csr;
InputText *textIn;
int32_t confidence;
public:
CharsetMatch();
void set(InputText *input, CharsetRecognizer *cr, int32_t conf);
const char *getName()const;
const char *getLanguage()const;
int32_t getConfidence()const;
int32_t getUChars(UChar *buf, int32_t cap, UErrorCode *status) const;
};
U_NAMESPACE_END
#endif
#endif /* __CSMATCH_H */