1 /* 2 * The Rubik's cube. 3 * 4 * Sed - april 1999 / december 2003. 5 * 6 * This program is in the public domain. 7 *-------------------- 8 * The wait event function, or how to show the superiority of select in face of threads shit. 9 */ 10 11 #ifndef _EVENT_H_ 12 #define _EVENT_H_ 13 14 #include "screen.h" 15 #include "cube.h" 16 17 #define SCREEN_EVENT 1 18 #define CUBE_EVENT 2 19 20 int can_mix(int); 21 int wait_event(SCREEN *, CUBE *); 22 23 #endif /* _EVENT_H_ */ 24