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

/////////////////////////////////////////////////////////////////////////////
//
//  File name: SYNTEST.H
//
//  Description: The header file for the class: CSyntaxTest.
//
//  Author: Chen Jun
//
//  Date: 04/03/95
//
//  Modification:
//      1. 04/03/95, Initial version of the class: CSyntaxTest.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _SYNTEST_
#define _SYNTEST_


/////////////////////////////////////////////////////////////////////////////
// CSyntaxTest class.
class CSyntaxTest
{
// Construction & Destruction.
public:
    CSyntaxTest();
    ~CSyntaxTest();
    
// Member variables.
protected:
    BOOL m_isServer;

// Implementations.
protected:
    void ShowLine(char* pszBuffer) const;
    void DelayOneSecond(void) const;

#ifdef _SERVER_TEST
    inline void DumpText(const char* pszDumpText) const
    {
        AfxMessageBox(pszDumpText);
    };
    inline void DumpVar(const int nVar) const
    {                                            
        char pszBuffer[18];
        AfxMessageBox(_itoa(nVar, pszBuffer, 10));
    };    
    inline void DumpVar(const unsigned long ulVar) const
    {                                            
        char pszBuffer[34];
        AfxMessageBox(_ultoa(ulVar, pszBuffer, 10));
    };    
#else
    inline void DumpText(const char* /* pszDumpText */) const {};
    inline void DumpVar(const int /* nVar */) const {};
    inline void DumpVar(const unsigned long /* ulVar */) const {};
#endif  // _SERVER_TEST

};  // End of class: CSyntaxTest.

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