mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -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
|
|
@ -28,19 +28,19 @@ typedef struct _PinosProxy PinosProxy;
|
|||
|
||||
#include <pinos/client/connection.h>
|
||||
#include <pinos/client/context.h>
|
||||
#include <pinos/client/interfaces.h>
|
||||
|
||||
struct _PinosProxy {
|
||||
PinosContext *context;
|
||||
SpaList link;
|
||||
|
||||
uint32_t id;
|
||||
uint32_t type;
|
||||
uint32_t id;
|
||||
uint32_t type;
|
||||
|
||||
void *user_data;
|
||||
const PinosInterface *iface;
|
||||
const void *implementation;
|
||||
|
||||
const void *interface;
|
||||
const void *event;
|
||||
const void *demarshal;
|
||||
void *user_data;
|
||||
|
||||
PINOS_SIGNAL (destroy_signal, (PinosListener *listener,
|
||||
PinosProxy *proxy));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue