diff options
Diffstat (limited to 'sdl/event.h')
-rw-r--r-- | sdl/event.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sdl/event.h b/sdl/event.h index 468087b..0608fa7 100644 --- a/sdl/event.h +++ b/sdl/event.h @@ -1,7 +1,9 @@ #ifndef _EVENT_H_ #define _EVENT_H_ -/* a table holding function pointers to function that handle events */ +struct platform; + +/* a table holding function pointers to functions that handle events */ struct event_vtbl { void (*keydown)(SDL_keysym *, const unsigned int *, const int); @@ -9,7 +11,7 @@ struct event_vtbl }; /* function prototypes */ -int event_handler_init(struct event_vtbl *); +int event_handler_init(struct platform *, struct event_vtbl *); void sdl_process_events(void); void event_keydown(SDL_keysym *, const unsigned int *, const int); |