From: jihye Date: Fri, 26 Apr 2013 09:27:07 +0000 (+0900) Subject: remove redundant header to avoid runtime mismatch (sync with exynos) X-Git-Tag: submit/tizen/20150527.025720~3^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b0c523ea04db8e9f4d70c41cb7ea542c42c0f06;p=platform%2Fadaptation%2Femulator%2Fdevice-manager-plugin-emul.git remove redundant header to avoid runtime mismatch (sync with exynos) Change-Id: I55454789e7fc105daa31e25e4c6f6388d427ffe9 --- diff --git a/include/devman_plugin_intf.h b/include/devman_plugin_intf.h deleted file mode 100644 index f973719..0000000 --- a/include/devman_plugin_intf.h +++ /dev/null @@ -1,166 +0,0 @@ -/* -* Copyright 2012 Samsung Electronics Co., Ltd -* -* Licensed under the Flora License, Version 1.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://floralicense.org/license/ -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - - -#ifndef __DEVMAN_PLUGIN_INTF_H__ -#define __DEVMAN_PLUGIN_INTF_H__ - -enum { - STATUS_OFFLINE = 0, - STATUS_ONLINE, -}; - -enum { - STATUS_OFF = 0, - STATUS_ON, -}; - -enum { - PATH_CP = 0, - PATH_AP, -}; - -enum { - BATTERY_NOT_FULLY_CHARGED = 0, - BATTERY_FULLY_CHARGED, -}; - -enum { - BATTERY_UNKNOWN = 0, - BATTERY_GOOD, - BATTERY_OVERHEAT, - BATTERY_DEAD, - BATTERY_OVERVOLTAGE, - BATTERY_UNSPECIFIED, - BATTERY_COLD, - BATTERY_HEALTH_MAX, -}; - -enum { - POWER_STATE_SUSPEND = 0, - POWER_STATE_PRE_SUSPEND, - POWER_STATE_POST_RESUME, -}; - -enum { - LUX_DECREMENT, - LUX_NOCHANGE, - LUX_INCREMENT, -}; - - -typedef struct { - int (*OEM_sys_get_display_count) (int *value); - - int (*OEM_sys_get_backlight_min_brightness) (int index, int *value); - int (*OEM_sys_get_backlight_max_brightness) (int index, int *value); - int (*OEM_sys_get_backlight_brightness) (int index, int *value, int power_saving); - int (*OEM_sys_set_backlight_brightness) (int index, int value, int power_saving); - - int (*OEM_sys_set_backlight_dimming) (int index, int value); - - int (*OEM_sys_get_backlight_acl_control) (int index, int *value); - int (*OEM_sys_set_backlight_acl_control) (int index, int value); - - int (*OEM_sys_get_lcd_power) (int index, int *value); - int (*OEM_sys_set_lcd_power) (int index, int value); - - int (*OEM_sys_get_image_enhance_mode) (int *value); - int (*OEM_sys_set_image_enhance_mode) (int value); - int (*OEM_sys_get_image_enhance_scenario) (int *value); - int (*OEM_sys_set_image_enhance_scenario) (int value); - int (*OEM_sys_get_image_enhance_tone) (int *value); - int (*OEM_sys_set_image_enhance_tone) (int value); - int (*OEM_sys_get_image_enhance_outdoor) (int *value); - int (*OEM_sys_set_image_enhance_outdoor) (int value); - - int (*OEM_sys_get_image_enhance_tune) (int *value); - int (*OEM_sys_set_image_enhance_tune) (int value); - int (*OEM_sys_image_enhance_info) (int *value); - - int (*OEM_sys_set_display_frame_rate) (int value); - - int (*OEM_sys_get_uart_path) (int *value); - int (*OEM_sys_set_uart_path) (int value); - - int (*OEM_sys_get_usb_path) (int *value); - int (*OEM_sys_set_usb_path) (int value); - - int (*OEM_sys_get_haptic_motor_level_max) (int *value); - int (*OEM_sys_get_haptic_motor_level) (int *value); - int (*OEM_sys_set_haptic_motor_level) (int value); - int (*OEM_sys_set_haptic_motor_enable) (int value); - int (*OEM_sys_set_haptic_motor_oneshot) (int value); - - int (*OEM_sys_get_haptic_vibetones_level_max) (int *value); - int (*OEM_sys_get_haptic_vibetones_level) (int *value); - int (*OEM_sys_set_haptic_vibetones_level) (int value); - int (*OEM_sys_set_haptic_vibetones_enable) (int value); - int (*OEM_sys_set_haptic_vibetones_oneshot) (int value); - - int (*OEM_sys_get_battery_capacity) (int *value); - int (*OEM_sys_get_battery_capacity_raw) (int *value); - int (*OEM_sys_get_battery_charge_full) (int *value); - int (*OEM_sys_get_battery_charge_now) (int *value); - int (*OEM_sys_get_battery_present) (int *value); - int (*OEM_sys_get_battery_health) (int *value); - int (*OEM_sys_get_battery_polling_required) (int *value); - int (*OEM_sys_get_battery_support_insuspend_charging) (int *value); - - int (*OEM_sys_get_jack_charger_online) (int *value); - int (*OEM_sys_get_jack_earjack_online) (int *value); - int (*OEM_sys_get_jack_earkey_online) (int *value); - int (*OEM_sys_get_jack_hdmi_online) (int *value); - int (*OEM_sys_get_jack_usb_online) (int *value); - int (*OEM_sys_get_jack_cradle_online) (int *value); - int (*OEM_sys_get_jack_tvout_online) (int *value); - int (*OEM_sys_get_jack_keyboard_online) (int *value); - - int (*OEM_sys_get_hdmi_support) (int *value); - - int (*OEM_sys_get_leds_torch_max_brightness) (int *value); - int (*OEM_sys_get_leds_torch_brightness) (int *value); - int (*OEM_sys_set_leds_torch_brightness) (int value); - - /* TODO: Change args type */ - int (*OEM_sys_set_power_state) (int value); - - /* TODO: Should determine enum values of wakeup_count nodes */ - int (*OEM_sys_get_power_wakeup_count) (int *value); - int (*OEM_sys_set_power_wakeup_count) (int value); - - int (*OEM_sys_get_memnotify_node) (char *node); - int (*OEM_sys_get_memnotify_victim_task) (int *value); - int (*OEM_sys_set_memnotify_threshold_lv1) (int value); - int (*OEM_sys_set_memnotify_threshold_lv2) (int value); - - int (*OEM_sys_get_process_monitor_node) (char *node); - int (*OEM_sys_set_process_monitor_mp_pnp) (int value); - int (*OEM_sys_set_process_monitor_mp_vip) (int value); - - int (*OEM_sys_get_cpufreq_cpuinfo_max_freq) (int *value); - int (*OEM_sys_get_cpufreq_cpuinfo_min_freq) (int *value); - int (*OEM_sys_get_cpufreq_scaling_max_freq) (int *value); - int (*OEM_sys_set_cpufreq_scaling_max_freq) (int value); - int (*OEM_sys_get_cpufreq_scaling_min_freq) (int *value); - int (*OEM_sys_set_cpufreq_scaling_min_freq) (int value); - - int (*OEM_sys_get_backlight_brightness_by_lux) (int lux, int status); -} OEM_sys_devman_plugin_interface; - -const OEM_sys_devman_plugin_interface *OEM_sys_get_devman_plugin_interface(); - -#endif /* __DEVMAN_PLUGIN_INTF_H__ */ diff --git a/packaging/device-manager-plugin-maru.spec b/packaging/device-manager-plugin-maru.spec index a0ea737..627e6fc 100644 --- a/packaging/device-manager-plugin-maru.spec +++ b/packaging/device-manager-plugin-maru.spec @@ -1,6 +1,6 @@ Name: device-manager-plugin-maru Summary: device-manager-plugin-maru -Version: 0.0.14 +Version: 0.0.15 Release: 1 Group: TO_BE/FILLED_IN License: TO_BE/FILLED_IN @@ -9,6 +9,7 @@ Source1001: packaging/device-manager-plugin-maru.manifest Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: cmake +BuildRequires: pkgconfig(devman_plugin) %description device-manager-plugin-maru.