/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/CPUST.H__   1.2.1.5   17 Apr 1997 15:43:54   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/CPUST.H__  $
** 
**    Rev 1.2.1.5   17 Apr 1997 15:43:54   ZJRD
** No change.
** 
**    Rev 1.2.1.4   16 Apr 1997 10:18:20   ZJRD
** No change.
** 
**    Rev 1.2.1.3   10 Apr 1997 15:29:38   ZJRD
** 2.09F
** 
**    Rev 1.2.1.1   03 Apr 1997 15:10:54   ZJRD
** No change.
** 
**    Rev 1.2.1.0   28 Mar 1997 10:15:54   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.1   19 Mar 1997 11:27:06   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 14:45:18   ZJRD
** Initial revision.
** 
**    Rev 1.7.1.0.1.2   09 Dec 1996 10:16:38   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.7.1.0.1.0   11 Nov 1996 12:59:54   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.7.1.4   09 Sep 1996 13:19:36   ZJRD
** No change.
** 
**    Rev 1.7.1.3   05 Sep 1996 11:31:06   ZJRD
** No change.
** 
**    Rev 1.7.1.2   02 Sep 1996 09:58:10   ZJRD
** No change.
** 
**    Rev 1.7.1.1   28 Aug 1996 15:48:12   ZJRD
** No change.
** 
**    Rev 1.7.1.0   12 Aug 1996 10:52:44   ZJRD
** EasyPack/SLD Version 1.98
** 
**    Rev 1.5   05 Jun 1996 14:56:02   ZJRD
** No change.
** 
**    Rev 1.4   29 May 1996 09:37:22   ZJRD
** No change.
** 
**    Rev 1.3   16 May 1996 09:01:58   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:16:50   ZJRD
** No change.
** 
**    Rev 1.1   02 May 1996 10:31:10   ZJRD
** EasyPack/SLD Version 1.92
** 
**    Rev 1.1   18 Apr 1996 12:56:36   Shirley
** No change.
** 
**    Rev 1.0   12 Apr 1996 10:35:58   Shirley
** Initial revision.
** 
****************************************************************************/
/***************************************************************************
**
** File name : cpust.h
**
** Description: 
**
**
** Programmer: John Chow  96.3
**
**    Copyright (C) 1995 Microtek International, Inc.
**    All Rights Reserved
**
****************************************************************************/
#ifndef _CPUST_
#define _CPUST_     
     
#include "btnbar.h"
#include "xview.h"
#include "diagnost.h" 
#include "diagnres.h"
#include "abiextfn.h"
#include "abibase.h"
#include "abitype.h"
#include "abimacro.h"
#include "dos.h"

#define STATUS_HALT 0
#define STATUS_GO   1
#define STATUS_GORUN 2
#define STATUS_GOFLY 3   
#define STATUS_GOMONI 4
               
extern CXviewApp *GetXviewAppJohn();               
extern unsigned char *inputStream;
extern unsigned char *outputStream;
extern STATUS SendStream(UCHAR* stream, UINT len);
STATUS ReceiveStream(UCHAR* inStream, UINT *inStreamLen, time_t waitSec);
extern BOOL GetIsInSetup() ;//from abi

#endif
///////////////////////////end of file //////////////////////////
extern BOOL GetCpuStatus(unsigned char & uchStatus);
extern BOOL CpuHalt();
extern BOOL ContinueGo();
extern void ExitEpsld();
extern int OpenAbiComDlg(int);