GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_backend_input.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2/*
3 * Copyright (C) 2023 Cyril Hrubis <metan@ucw.cz>
4 */
5
6/*
7
8 Backend input driver, allows number of different input drivers to be
9 attached to a backend.
10
11 */
12
13#ifndef BACKENDS_GP_BACKEND_INPUT_H__
14#define BACKENDS_GP_BACKEND_INPUT_H__
15
16#include <backends/gp_backend.h>
17#include <utils/gp_list.h>
18
19typedef struct gp_backend_input gp_backend_input;
20
21struct gp_backend_input {
22 gp_dlist_head list_head;
23 void (*destroy)(gp_backend_input *self);
24};
25
29void gp_backend_input_destroy(gp_backend *self);
30
31#endif /* BACKENDS_GP_BACKEND_INPUT_H__ */
A linked list implementation.