1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef BOARDS_POSIX_COMMON_SDL_SDL_EVENTS_BOTTOM_H 8 #define BOARDS_POSIX_COMMON_SDL_SDL_EVENTS_BOTTOM_H 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /* Note: None of these functions are public interfaces. But internal to the SDL event handling */ 15 16 int sdl_handle_pending_events(void); 17 int sdl_init_video(void); 18 void sdl_quit(void); 19 const char *sdl_get_error(void); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif /* BOARDS_POSIX_COMMON_SDL_SDL_EVENTS_BOTTOM_H */ 26