WIP object model change

Work on cleanup
This commit is contained in:
Wim Taymans 2016-11-15 13:29:58 +01:00
parent c25ccbb4ba
commit 0d21d633c9
26 changed files with 912 additions and 821 deletions

View file

@ -21,15 +21,19 @@
#ifndef __PINOS_MODULE_H__
#define __PINOS_MODULE_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <pinos/server/core.h>
typedef struct _PinosModule PinosModule;
struct _PinosModule {
SpaList link;
gchar *name;
PinosCore *core;
SpaList link;
char *name;
PINOS_SIGNAL (destroy_signal, (PinosListener *listener,
PinosModule *module));
@ -53,6 +57,8 @@ PinosModule * pinos_module_load (PinosCore *core,
char **err);
void pinos_module_destroy (PinosModule *module);
G_END_DECLS
#ifdef __cplusplus
}
#endif
#endif /* __PINOS_MODULE_H__ */