extern "C" {
#endif
+#include <stdbool.h>
+
#define DEVICED_DISPLAY_ATTR_INT_GET_MAX_BRIGHTNESS (1ULL << 0)
#define DEVICED_DISPLAY_ATTR_INT_GET_CURRENT_STATE (1ULL << 1)
#define DEVICED_DISPLAY_ATTR_TUPLE2_SET_CURRENT_STATE (1ULL << 2)
DEVICED_DPMS_DETACH, /* Display detached */
};
+enum deviced_dpms_type {
+ DEVICED_DPMS_TYPE_WINDOW_MANAGER,
+ DEVICED_DPMS_TYPE_NONE,
+};
+
+enum deviced_display_orientation {
+ DEVICED_DISPLAY_ORIENTATION_HORIZONTAL,
+ DEVICED_DISPLAY_ORIENTATION_VERTICAL,
+};
+
+struct deviced_display_config {
+ double lock_wait_time;
+ double longpress_interval;
+ double lightsensor_interval;
+ int lcdoff_timeout;
+ const int pm_default_brightness;
+ int brightness_change_step;
+ int lcd_always_on;
+ int dimming;
+ int framerate_app[4];
+ int control_display;
+ int powerkey_doublepress;
+ int alpm_on;
+ int accel_sensor_on;
+ int continuous_sampling;
+ enum deviced_display_orientation display_init_direction;
+ int aod_enter_level;
+ bool aod_tsp;
+ bool timeout_enable;
+ bool input_support;
+ bool touch_wakeup;
+ bool display_on_usb_conn_changed;
+ enum deviced_dpms_type display_dpms_type;
+};
+
#define DEVICED_DISPLAY_SCREEN_TIMEOUT_INFINITE ((~0) >> 1)
#ifdef __cplusplus