Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
264 B

  1. class CINetCodeDetector
  2. {
  3. public:
  4. CINetCodeDetector() {}
  5. virtual ~CINetCodeDetector() {}
  6. int DetectStringA(LPCSTR lpSrcStr, int cchSrc);
  7. protected:
  8. virtual BOOL DetectChar(UCHAR tc) = 0;
  9. virtual BOOL CleanUp() = 0;
  10. virtual int GetDetectedCodeSet() = 0;
  11. };