windows-nt/Source/XPSP1/NT/shell/ext/mlang/detcbase.h
2020-09-26 16:20:57 +08:00

14 lines
264 B
C++

class CINetCodeDetector
{
public:
CINetCodeDetector() {}
virtual ~CINetCodeDetector() {}
int DetectStringA(LPCSTR lpSrcStr, int cchSrc);
protected:
virtual BOOL DetectChar(UCHAR tc) = 0;
virtual BOOL CleanUp() = 0;
virtual int GetDetectedCodeSet() = 0;
};