improve interfaces

Make an interface structure to hold methods and events.
Move interface setup to protocol
This commit is contained in:
Wim Taymans 2017-03-09 13:00:56 +01:00
parent 905743dac6
commit 7ad02f553a
13 changed files with 341 additions and 255 deletions

View file

@ -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));