1 /* $Id: winmain.h,v 1.2 2000/10/23 16:52:52 amura Exp $ */ 2 /* OS dependent code used by Ng for WinCE. 3 * Copyright (C) 1998 Eiichiro Ito 4 * Modified for Ng for Win32 5 * Copyright (C) 1999,2000 Toru Imai 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * ree Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 */ 21 22 /* 23 * $Log: winmain.h,v $ 24 * Revision 1.2 2000/10/23 16:52:52 amura 25 * add GPL copyright to header 26 * 27 * Revision 1.1.1.1 2000/06/27 01:48:00 amura 28 * import to CVS 29 * 30 */ 31 32 #ifdef __cplusplus 33 extern "C" { 34 #endif 35 int Main( int argc, char *argv[] ) ; 36 int Kbhit( void ) ; 37 int KbhitSleep( DWORD sec ) ; 38 int GetChar( void ) ; 39 void GotoXY( int x, int y ) ; 40 void EraseEOL( void ) ; 41 void EraseEOP( void ) ; 42 void PutChar( char c ) ; 43 void PutKChar( char c1, char c2 ) ; 44 void Flush( void ) ; 45 void Exit( int code ) ; 46 void GetWH( int *w, int *h ) ; 47 #ifdef __cplusplus 48 } ; 49 #endif 50