/***************************************************************************
**
**    $Header:   D:/EPSLDV1/SRC/LOG/CPUST.H__   1.8   20 Jun 1996 09:30:08   ZJRD  $
**
**    $Log:   D:/EPSLDV1/SRC/LOG/CPUST.H__  $
** 
**    Rev 1.8   20 Jun 1996 09:30:08   ZJRD
** EasyPack/SLD Version 1.20a
** 
**    Rev 1.6   10 Jun 1996 10:24:48   ZJRD
** EasyPack/SLD Version 1.20
** 
**    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);