power: Fixed a bug to use the wrong dbus path and interface for reboot.
[platform/core/api/device.git] / src / dbus.h
index 27a58e0..11d13ce 100644 (file)
 #define DEVICED_PATH_POWER                  DEVICED_OBJECT_PATH"/Power"
 #define DEVICED_INTERFACE_POWER             DEVICED_INTERFACE_NAME".power"
 
+/* Reboot service: request reboot operation */
+#define DEVICED_PATH_REBOOT                 DEVICED_OBJECT_PATH"/Reboot"
+#define DEVICED_INTERFACE_REBOOT            DEVICED_INTERFACE_NAME".reboot"
+
 /* IR service: transmit IR commands */
 #define DEVICED_PATH_IR                  DEVICED_OBJECT_PATH"/Ir"
 #define DEVICED_INTERFACE_IR             DEVICED_INTERFACE_NAME".ir"