//TIZEN ONLY (20160926): cbhm client for multi entry
#ifdef HAVE_ELEMENTARY_WAYLAND
+#define CBHM_DBUS_OBJPATH "/org/tizen/cbhm/dbus"
+#ifndef CBHM_DBUS_INTERFACE
+#define CBHM_DBUS_INTERFACE "org.tizen.cbhm.dbus"
+#endif /* CBHM_DBUS_INTERFACE */
+
static void
-_cbhm_on_name_owner_changed(void *data EINA_UNUSED,
- const char *bus EINA_UNUSED, const char *old_id EINA_UNUSED,
- const char *new_id EINA_UNUSED)
+_cbhm_on_name_owner_changed(void *data EINA_UNUSED, const char *bus,
+ const char *old_id, const char *new_id)
{
- /* FIXME : If entry should know the time cbhm service is started or stoped,
- * use this function. */
+ if ((!new_id || (new_id[0] == '\0'))
+ && strncmp(CBHM_DBUS_INTERFACE, bus, strlen(CBHM_DBUS_INTERFACE)))
+ {
+ ERR("cbhm daemon lost owner");
+ }
}
static void
_paste_cb(obj, NULL, NULL);
}
-#define CBHM_DBUS_OBJPATH "/org/tizen/cbhm/dbus"
-#ifndef CBHM_DBUS_INTERFACE
-#define CBHM_DBUS_INTERFACE "org.tizen.cbhm.dbus"
-#endif /* CBHM_DBUS_INTERFACE */
-
static void
_cbhm_eldbus_init(Evas_Object *obj)
{