mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-04-18 08:40:37 +02:00
eis: update libeis-client to use the declare macros
This commit is contained in:
parent
bcece3d3c1
commit
c98a9fc7d7
1 changed files with 4 additions and 9 deletions
|
|
@ -73,18 +73,13 @@ struct eis_client {
|
|||
} restrictions;
|
||||
};
|
||||
|
||||
OBJECT_DECLARE_GETTER(eis_client, client, struct eis_client *);
|
||||
OBJECT_DECLARE_GETTER(eis_client, interface, const struct eis_connection_interface *);
|
||||
OBJECT_DECLARE_GETTER(eis_client, proto_object, const struct brei_object *);
|
||||
|
||||
struct eis_client *
|
||||
eis_client_new(struct eis *eis, int fd);
|
||||
|
||||
struct eis_client *
|
||||
eis_client_get_client(struct eis_client *client);
|
||||
|
||||
const struct eis_connection_interface *
|
||||
eis_client_get_interface(struct eis_client *client);
|
||||
|
||||
const struct brei_object *
|
||||
eis_client_get_proto_object(struct eis_client *client);
|
||||
|
||||
uint32_t
|
||||
eis_client_get_new_id(struct eis_client *client);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue