Leaked source code of windows server 2003
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
295 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. };