client: add client object instrospection

This commit is contained in:
Wim Taymans 2016-07-20 17:55:02 +02:00
parent e167d30296
commit f7d02c8d77
7 changed files with 232 additions and 4 deletions

View file

@ -102,6 +102,9 @@ notify_event (PinosSubscribe *subscribe,
if (g_strcmp0 (interface_name, "org.pinos.Daemon1") == 0) {
flags = PINOS_SUBSCRIPTION_FLAG_DAEMON;
}
if (g_strcmp0 (interface_name, "org.pinos.Client1") == 0) {
flags = PINOS_SUBSCRIPTION_FLAG_CLIENT;
}
else if (g_strcmp0 (interface_name, "org.pinos.Node1") == 0) {
flags = PINOS_SUBSCRIPTION_FLAG_NODE;
}