Hide GDBus from RTKit API
Remove register node from dbus API
Add signal
Add object and register objects in the registry
Add some preregistered types to the registry
Let the daemon listen to the registry
This commit is contained in:
Wim Taymans 2016-11-08 18:00:52 +01:00
parent e88a376d7c
commit 89bc235924
27 changed files with 568 additions and 462 deletions

View file

@ -24,6 +24,11 @@
G_BEGIN_DECLS
#define PINOS_NODE_URI "http://pinos.org/ns/node"
#define PINOS_NODE_PREFIX PINOS_NODE_URI "#"
#define PINOS_PORT_URI PINOS_NODE_PREFIX "Port"
typedef struct _PinosPort PinosPort;
typedef struct _PinosNode PinosNode;
typedef struct _PinosNodeClass PinosNodeClass;
@ -46,7 +51,7 @@ typedef enum {
#include <pinos/server/client.h>
struct _PinosPort {
uint32_t id;
PinosObject object;
PinosNode *node;
PinosDirection direction;
uint32_t port;
@ -72,9 +77,9 @@ struct _PinosPort {
* Pinos node class.
*/
struct _PinosNode {
GObject object;
GObject obj;
uint32_t id;
PinosObject object;
PinosNodeFlags flags;