
/***************************************************************************
**
**    $Header:   D:/EPSLDV1/SRC/LOG/MEMCOMP.H__   1.8   20 Jun 1996 09:28:28   ZJRD  $
**
**    $Log:   D:/EPSLDV1/SRC/LOG/MEMCOMP.H__  $
** 
**    Rev 1.8   20 Jun 1996 09:28:28   ZJRD
** EasyPack/SLD Version 1.20a
** 
**    Rev 1.6   10 Jun 1996 10:23:06   ZJRD
** EasyPack/SLD Version 1.20
** 
**    Rev 1.4   29 May 1996 09:34:10   ZJRD
** No change.
** 
**    Rev 1.3   16 May 1996 09:02:46   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:14:20   ZJRD
** No change.
** 
**    Rev 1.1   02 May 1996 10:29:10   ZJRD
** EasyPack/SLD Version 1.92
** 
**    Rev 1.31   18 Apr 1996 12:58:22   Shirley
** No change.
** 
**    Rev 1.30   12 Apr 1996 10:42:00   Shirley
** EasyPack/SLD Version 1.90
** 
**    Rev 1.28   15 Feb 1996 08:57:00   Shirley
** No change.
** 
**    Rev 1.27   12 Feb 1996 14:08:20   Shirley
** No change.
** 
**    Rev 1.26   06 Feb 1996 15:34:48   Shirley
** No change.
** 
**    Rev 1.25   06 Feb 1996 13:49:08   Shirley
** No change.
** 
**    Rev 1.24   01 Feb 1996 10:15:08   Shirley
** No change.
** 
**    Rev 1.23   26 Jan 1996 09:18:30   Shirley
** No change.
** 
**    Rev 1.22   25 Jan 1996 13:18:26   Shirley
** No change.
** 
**    Rev 1.21   24 Jan 1996 10:36:02   Shirley
** No change.
** 
**    Rev 1.20   23 Jan 1996 11:24:26   Shirley
** No change.
** 
**    Rev 1.19   18 Jan 1996 10:11:10   Shirley
** No change.
** 
**    Rev 1.18   15 Jan 1996 16:12:46   Shirley
** No change.
** 
**    Rev 1.17   04 Jan 1996 11:10:50   Shirley
** No change.
** 
**    Rev 1.16   30 Nov 1995 09:14:40   Shirley
** No change.
** 
**    Rev 1.15   28 Nov 1995 15:29:12   Shirley
** No change.
** 
**    Rev 1.14   21 Nov 1995 11:21:26   Shirley
** No change.
** 
**    Rev 1.13   13 Nov 1995 09:27:10   Shirley
** No change.
** 
**    Rev 1.12   12 Nov 1995 11:31:46   Shirley
** No change.
** 
**    Rev 1.11   08 Nov 1995 16:33:50   Shirley
** No change.
** 
**    Rev 1.10   08 Nov 1995 12:44:36   Shirley
** EasyPack/SLD Version 0.22
** 
**    Rev 1.9   02 Nov 1995 10:06:04   Shirley
** No change.
** 
**    Rev 1.8   27 Oct 1995 16:48:14   Shirley
** No change.
** 
**    Rev 1.7   27 Oct 1995 13:46:16   Shirley
** No change.
** 
**    Rev 1.6   25 Oct 1995 14:27:34   Shirley
** No change.
** 
**    Rev 1.5   18 Oct 1995 14:52:46   Shirley
** No change.
** 
**    Rev 1.4   13 Oct 1995 13:20:40   Shirley
** No change.
** 
**    Rev 1.3   29 Sep 1995 09:52:28   Shirley
** No change.
** 
**    Rev 1.2   20 Sep 1995 10:55:42   Shirley
** No change.
** 
**    Rev 1.1   15 Sep 1995 09:45:52   Shirley
** No change.
** 
**    Rev 1.0   07 Sep 1995 09:54:44   Shirley
** Initial revision.
**
****************************************************************************/

/////////////////////////////////////////////////////////////////////////////
//
//  File name: MEMCOMP.H
//
//  Description: The header file for the class: CMemoryCompare.
//
//  Author: Chen Jun
//
//  Date: 04/29/95
//
//  Modification:
//      1. 04/29/95, Initial version of the class: CMemoryCompare.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _MEMCOMP_
#define _MEMCOMP_

#include "membase.h"


/////////////////////////////////////////////////////////////////////////////
// CMemoryCompare class.
class CMemoryCompare : public CMemoryBase
{
// Construction & Destruction.
public:
    CMemoryCompare();
    ~CMemoryCompare();
    
// Member variables.
private:
    CMemoryAddr m_StartAddr, m_EndAddr, m_TargetAddr, m_SrcAddr, m_DestAddr;
    BOOL m_bServerRet;
    
// Implementations.
private:
    void MemoryCompareKernel(void);
    void DisplayDifferent(void);
    BOOL GetDiffCell(CMemoryAddr DiffAddr, char* pszData);

public:
    void CompareAction(int nArgc, char* pszArgv[]);
    BOOL MemServerCompare(unsigned short uStart, unsigned short uEnd,
        unsigned short uTarget, 
        unsigned char uchSourceType, unsigned char uchTargetType,
        unsigned short& uSource, char* pszResult);

};  // End of class: CMemoryCompare.

#endif
//////////////////////////////// End of File ////////////////////////////////
