#ifndef __CALLMGR_COOLDOWN_H__
#define __CALLMGR_COOLDOWN_H__
-#define DBUS_NAME_DEVICED "org.tizen.system.deviced"
-#define DBUS_PATH_DEVICED_SYSNOTI "/Org/Tizen/System/DeviceD/SysNoti"
-#define DBUS_INTERFACE_DEVICED_SYSNOTI "org.tizen.system.deviced.SysNoti"
+#define DBUS_SERVICE_THERMAL "org.tizen.system.thermal"
+#define DBUS_PATH_THERMAL "/Org/Tizen/System/Thermal"
+#define DBUS_INTERFACE_THERMAL "org.tizen.system.thermal"
#define DBUS_METHOD_GET_COOLDOWN_STATUS "GetCoolDownStatus"
-#define DBUS_SIGNAL_COOLDOWN_CHANGED "CoolDownChanged"
typedef struct __cooldown_data *callmgr_cooldown_h;
}
dbus_result = g_dbus_connection_call_sync(dbus_conn,
- DBUS_NAME_DEVICED,
- DBUS_PATH_DEVICED_SYSNOTI,
- DBUS_INTERFACE_DEVICED_SYSNOTI,
+ DBUS_SERVICE_THERMAL,
+ DBUS_PATH_THERMAL,
+ DBUS_INTERFACE_THERMAL,
DBUS_METHOD_GET_COOLDOWN_STATUS,
- NULL, NULL, G_DBUS_CALL_FLAGS_NONE,
+ NULL,
+ NULL,
+ G_DBUS_CALL_FLAGS_NONE,
60 * 1000, NULL, &error);
if (dbus_result) {
gchar *status = NULL;