/*******************************************************************************
**	userio.h -- Tattletale Model-7 User I/O Interface Definitions
**
**	Copyright (C) 1991 ONSET Computer Corp.  --jhg		All rights reserved.
**
**	Saturday, September 14, 1991

	Copied into TT7PCIO.H and changed "kbhit()" to type "int"
        RCG 7-20-94
*******************************************************************************/

#ifndef		__userio_H
#define		__userio_H

#include	<TT7.h>

int  kbhit(void);
bool kbflush(void);

bool InputLine(ptr linebuf, short linelen);

bool QueryNum(ptr prompt, ptr defFmt, ptr scanFmt, ulong *value);
bool QueryChar(ptr prompt, char defChar, ptr scanSet, char *reply);
bool QueryYesNo(ptr prompt, bool defYes);
bool QueryDateTime(ptr prompt, bool defTime, struct tm *tm);

#endif	/*	__userio_H */
