
/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/SHLCOM.H__   1.2.1.4   17 Apr 1997 15:58:44   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/SHLCOM.H__  $
** 
**    Rev 1.2.1.4   17 Apr 1997 15:58:44   ZJRD
** No change.
** 
**    Rev 1.2.1.3   16 Apr 1997 10:30:26   ZJRD
** No change.
** 
**    Rev 1.2.1.2   10 Apr 1997 15:40:36   ZJRD
** No change.
** 
**    Rev 1.2.1.1   03 Apr 1997 15:19:26   ZJRD
** No change.
** 
**    Rev 1.2.1.0   28 Mar 1997 10:24:10   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.1   19 Mar 1997 11:34:12   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 14:49:10   ZJRD
** Initial revision.
** 
**    Rev 1.7.1.0.1.2   09 Dec 1996 10:17:42   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.7.1.0.1.0   11 Nov 1996 13:00:56   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.7.1.4   09 Sep 1996 13:22:18   ZJRD
** No change.
** 
**    Rev 1.7.1.3   05 Sep 1996 11:33:44   ZJRD
** No change.
** 
**    Rev 1.7.1.2   02 Sep 1996 10:00:48   ZJRD
** No change.
** 
**    Rev 1.7.1.1   28 Aug 1996 15:44:06   ZJRD
** No change.
** 
**    Rev 1.7.1.0   12 Aug 1996 10:49:28   ZJRD
** No change.
** 
**    Rev 1.7   11 Jun 1996 10:23:58   ZJRD
** EasyPack/SLD Version 1.97
** 
**    Rev 1.5   05 Jun 1996 14:51:40   ZJRD
** No change.
** 
**    Rev 1.4   29 May 1996 09:33:06   ZJRD
** No change.
** 
**    Rev 1.3   16 May 1996 09:05:12   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:14:04   ZJRD
** No change.
** 
**    Rev 1.1   02 May 1996 10:24:38   ZJRD
** EasyPack/SLD Version 1.92
** 
**    Rev 1.31   18 Apr 1996 12:53:56   Shirley
** No change.
** 
**    Rev 1.30   12 Apr 1996 10:40:46   Shirley
** EasyPack/SLD Version 1.90
** 
**    Rev 1.28   15 Feb 1996 08:54:14   Shirley
** No change.
** 
**    Rev 1.27   12 Feb 1996 14:09:32   Shirley
** No change.
** 
**    Rev 1.26   06 Feb 1996 15:35:56   Shirley
** No change.
** 
**    Rev 1.25   06 Feb 1996 13:50:12   Shirley
** No change.
** 
**    Rev 1.24   01 Feb 1996 10:14:42   Shirley
** No change.
** 
**    Rev 1.23   26 Jan 1996 09:20:34   Shirley
** No change.
** 
**    Rev 1.22   25 Jan 1996 13:20:28   Shirley
** No change.
** 
**    Rev 1.21   24 Jan 1996 10:37:46   Shirley
** No change.
** 
**    Rev 1.20   23 Jan 1996 11:23:16   Shirley
** No change.
** 
**    Rev 1.19   18 Jan 1996 10:12:42   Shirley
** No change.
** 
**    Rev 1.18   15 Jan 1996 16:15:40   Shirley
** No change.
** 
**    Rev 1.17   04 Jan 1996 11:09:28   Shirley
** EasyPack/SLD Version 0.34
** 
**    Rev 1.16   30 Nov 1995 09:11:00   Shirley
** No change.
** 
**    Rev 1.15   28 Nov 1995 15:30:08   Shirley
** No change.
** 
**    Rev 1.14   21 Nov 1995 11:19:44   Shirley
** No change.
** 
**    Rev 1.13   13 Nov 1995 09:22:24   Shirley
** No change.
** 
**    Rev 1.12   12 Nov 1995 11:34:00   Shirley
** No change.
** 
**    Rev 1.11   08 Nov 1995 16:34:28   Shirley
** No change.
** 
**    Rev 1.10   08 Nov 1995 12:44:22   Shirley
** No change.
** 
**    Rev 1.9   02 Nov 1995 10:05:52   Shirley
** No change.
** 
**    Rev 1.8   27 Oct 1995 16:47:22   Shirley
** No change.
** 
**    Rev 1.7   27 Oct 1995 13:45:14   Shirley
** EasyPack/SLD Version 0.1g
** 
**    Rev 1.6   25 Oct 1995 14:26:34   Shirley
** EasyPack/SLD Version 0.1f
** 
**    Rev 1.5   18 Oct 1995 14:49:30   Shirley
** No change.
** 
**    Rev 1.4   13 Oct 1995 13:24:24   Shirley
** No change.
** 
**    Rev 1.3   29 Sep 1995 09:48:18   Shirley
** No change.
** 
**    Rev 1.2   20 Sep 1995 10:53:04   Shirley
** No change.
** 
**    Rev 1.1   15 Sep 1995 09:48:46   Shirley
** No change.
** 
**    Rev 1.0   07 Sep 1995 09:53:58   Shirley
** Initial revision.
**
****************************************************************************/

/////////////////////////////////////////////////////////////////////////////
//
//  File name:  SHLCOM.H
//
//  Description:The header file of common declare for CShellWindow
//
//  Author:     Roger Zhang
//
//  Date:       03/10/95
//
//  Modification:
//
//      1. 03/10/95, Initial version 
//
//
//  Copyright (C) 1995 Microtek International. All rights reserved.
//
/////////////////////////////////////////////////////////////////////////////

#ifndef _SHLCOM_
#define _SHLCOM_

const int  MAX_SHELL_PMT = 10;		// max shell prompt length
const int  MAX_SHELL_LEN = 256;     // max shell line length;
const int  MAX_SHELL_INPUT = MAX_SHELL_LEN - MAX_SHELL_PMT;
const int  MAX_SHELL_HISTORY = 100; // command history size

enum { PMT_NORMAL = 0, PMT_RUN, PMT_FLY, PMT_MACRO, PMT_RND, PMT_CNT };
extern char * PromptStr[PMT_CNT];
extern int PromptLen[PMT_CNT];
extern int nShellPrompt;

extern int TstGetLogOn(void); 
extern int TstGetLogCommand(void); 
extern int TstGetLogAppend(void); 
extern int TstGetLogOpened(void); 
extern void TstSetLogOn(int); 
extern void TstSetLogCommand(int); 
extern void TstSetLogAppend(int); 
extern void TstSetLogOpened(int); 
extern void TstOpenLog(CString);
extern void TstCloseLog(void);

extern int nShellHistSize;

extern int nAsmFlag;

void DadAssemble(char * psz);

typedef struct {
    char* pszCommandName;
    int nMinKeyword;
    char* pszHints;
} tagCmdTable;

#endif
/////////////////////////(EOF)///////////////////////////////////////////////
