mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-15 01:00:24 +01:00
libeis: declare a few extra functions that will be useful
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a09a99b6d9
commit
805ba96271
1 changed files with 9 additions and 1 deletions
10
src/libeis.h
10
src/libeis.h
|
|
@ -155,6 +155,9 @@ eis_dispatch(struct eis *eis);
|
|||
struct eis_event *
|
||||
eis_get_event(struct eis *eis);
|
||||
|
||||
struct eis_event *
|
||||
eis_event_unref(struct eis_event *event);
|
||||
|
||||
enum eis_event_type
|
||||
eis_next_event_type(struct eis *eis);
|
||||
|
||||
|
|
@ -164,6 +167,9 @@ eis_client_ref(struct eis_client *client);
|
|||
struct eis_client *
|
||||
eis_client_unref(struct eis_client *client);
|
||||
|
||||
const char *
|
||||
eis_client_get_name(struct eis_client *client);
|
||||
|
||||
/**
|
||||
* Allow connection from the client. This can only be done once, further
|
||||
* calls to this functions are ignored.
|
||||
|
|
@ -187,10 +193,12 @@ eis_client_connect(struct eis_client *client);
|
|||
void
|
||||
eis_client_disconnect(struct eis_client *client);
|
||||
|
||||
enum eis_event_type
|
||||
eis_event_get_type(struct eis_event *event);
|
||||
|
||||
struct eis_client *
|
||||
eis_event_get_client(struct eis_event *event);
|
||||
|
||||
|
||||
struct eis_device *
|
||||
eis_device_ref(struct eis_device *device);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue