added ObjectAdded signal
diff --git a/objects/host_watchdog_obj.c b/objects/host_watchdog_obj.c
index 13208e2..a4651ea 100644
--- a/objects/host_watchdog_obj.c
+++ b/objects/host_watchdog_obj.c
@@ -1,6 +1,6 @@
#include "interfaces/openbmc_intf.h"
#include "openbmc.h"
-
+#include "object_mapper.h"
/* ---------------------------------------------------------------------------------------------------- */
@@ -98,6 +98,10 @@
Watchdog *wd = watchdog_skeleton_new ();
object_skeleton_set_watchdog (object, wd);
g_object_unref (wd);
+
+ ObjectMapper* mapper = object_mapper_skeleton_new ();
+ object_skeleton_set_object_mapper (object, mapper);
+ g_object_unref (mapper);
// set properties
watchdog_set_watchdog(wd,1);
@@ -129,6 +133,7 @@
/* Export all objects */
g_dbus_object_manager_server_set_connection (manager, connection);
+ emit_object_added((GDBusObjectManager*)manager);
}
static void