#ifndef __W32__ close_keybord(); #endif 
static void doit(void){	MidiEvent ev;		playdone=0;	while(seq_quit==0){		if(kbhit()){			switch(getch()){				case 'Q':				case 'q':					seq_quit=~0;				break;				case 'm':					server_reset();					ev.type=ME_RESET;					ev.a=GM_SYSTEM_MODE;					seq_play_event(&ev);				break;				case 's':					server_reset();					ev.type=ME_RESET;					ev.a=GS_SYSTEM_MODE;					seq_play_event(&ev);				break;				case 'x':					server_reset();					ev.type=ME_RESET;					ev.a=XG_SYSTEM_MODE;					ev.time=0;					seq_play_event(&ev);				break;				case 'c':					server_reset();					ev.type=ME_RESET;					ev.a=system_mode;					seq_play_event(&ev);				break;				case 'M':					server_reset();					system_mode=GM_SYSTEM_MODE;					ev.type=ME_RESET;					ev.a=GM_SYSTEM_MODE;					seq_play_event(&ev);					change_system_mode(system_mode);				break;				case 'S':					server_reset();					system_mode=GS_SYSTEM_MODE;					ev.type=ME_RESET;					ev.a=GS_SYSTEM_MODE;					seq_play_event(&ev);					change_system_mode(system_mode);				break;				case 'X':					server_reset();					system_mode=XG_SYSTEM_MODE;					ev.type=ME_RESET;					ev.a=XG_SYSTEM_MODE;					seq_play_event(&ev);					change_system_mode(system_mode);				break;				case 'N':					server_reset();					system_mode=DEFAULT_SYSTEM_MODE;					ev.type=ME_RESET;					ev.a=GS_SYSTEM_MODE;					seq_play_event(&ev);					change_system_mode(system_mode);				break;			}		}		winplaymidi();		sleep(0);/*		if(playdone!=0){			seq_reset();			playdone=0;		}*/	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/07099d2b73d40a22ba156b7c9bb38b9160f91538/winsyn_c.c/clean/interface/winsyn_c.c