mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
improve interfaces
Make an interface structure to hold methods and events. Move interface setup to protocol
This commit is contained in:
parent
905743dac6
commit
7ad02f553a
13 changed files with 341 additions and 255 deletions
|
|
@ -48,9 +48,8 @@ struct _PinosResource {
|
|||
void *object;
|
||||
PinosDestroy destroy;
|
||||
|
||||
const void *interface;
|
||||
const void *event;
|
||||
const void *demarshal;
|
||||
const PinosInterface *iface;
|
||||
const void *implementation;
|
||||
|
||||
PINOS_SIGNAL (destroy_signal, (PinosListener *listener,
|
||||
PinosResource *resource));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue