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.

31 lines
717 B

  1. #ifndef CoComp_hxx
  2. #define CoComp_hxx 1
  3. //--- Additional includes ----------------------------------------------
  4. #include "types.h"
  5. #include "array.hxx"
  6. #include "windows.h"
  7. //--- Class, Enum, Struct and Union Declarations -----------------------
  8. class CCompareCoClass
  9. {
  10. public:
  11. CCompareCoClass(char* pCurBuf, char* pRefBuf, HANDLE fileDiff, char* pszClassName);
  12. ~CCompareCoClass();
  13. void FindAdditionsAndChanges();
  14. void FindRemovals();
  15. private:
  16. char* _pCurBuf;
  17. char* _pRefBuf;
  18. HANDLE _fileDiff;
  19. char* _pszClassName;
  20. CAutoArray<LINEINFO>* _pCurList;
  21. CAutoArray<LINEINFO>* _pRefList;
  22. bool _bFirstTime;
  23. void CreateLineIndex( CAutoArray<LINEINFO>* pList, char* pBuf );
  24. };
  25. #endif // def CoComp_hxx