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
748 B
31 lines
748 B
#ifndef CoComp_hxx
|
|
#define CoComp_hxx 1
|
|
|
|
//--- Additional includes ----------------------------------------------
|
|
#include "types.h"
|
|
#include "array.hxx"
|
|
#include "windows.h"
|
|
|
|
//--- Class, Enum, Struct and Union Declarations -----------------------
|
|
class CCompareCoClass
|
|
{
|
|
public:
|
|
CCompareCoClass(char* pCurBuf, char* pRefBuf, HANDLE fileDiff, char* pszClassName);
|
|
~CCompareCoClass();
|
|
|
|
void FindAdditionsAndChanges();
|
|
void FindRemovals();
|
|
|
|
private:
|
|
char* _pCurBuf;
|
|
char* _pRefBuf;
|
|
HANDLE _fileDiff;
|
|
char* _pszClassName;
|
|
CAutoArray<LINEINFO>* _pCurList;
|
|
CAutoArray<LINEINFO>* _pRefList;
|
|
bool _bFirstTime;
|
|
|
|
void CreateLineIndex( CAutoArray<LINEINFO>* pList, char* pBuf );
|
|
};
|
|
|
|
#endif // def CoComp_hxx
|