![]() |
VR-Link API Documentation for DIS
|
00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00009 #pragma once 00010 00011 #include "vlUtil.h" 00012 00013 #ifdef DtUSE_UTILITIES_NAMESPACE 00014 namespace DtUSE_UTILITIES_NAMESPACE 00015 { 00016 #endif 00017 00023 DT_DLL_VLUTIL int DtGetCh(); 00024 00032 DT_DLL_VLUTIL int DtKbHit(); 00033 00038 DT_DLL_VLUTIL void DtRestoreKbHit(); 00039 00040 00048 DT_DLL_VLUTIL char* DtPollBlockingInputLine(void); 00050 DT_DLL_VLUTIL void DtPollBlockingInputLine(char* buff, int size); 00051 00057 DT_DLL_VLUTIL char DtPollBlockingInputChar(void); 00058 00059 00063 inline char* DtPollInputLine(void) 00064 { 00065 return DtPollBlockingInputLine(); 00066 } 00067 00071 inline void DtPollInputLine(char* buff, int size) 00072 { 00073 DtPollBlockingInputLine(buff, size); 00074 } 00075 00079 inline char DtPollInputChar(void) 00080 { 00081 return DtPollBlockingInputChar(); 00082 } 00083 #ifdef DtUSE_UTILITIES_NAMESPACE 00084 } 00085 #endif 00086 00087 00088