tizen 2.3 release
[apps/home/settings.git] / setting-display / include / setting-display-main.h
index b7eb0f7..b3ccf10 100755 (executable)
@@ -1,50 +1,40 @@
 /*
  * setting
- * Copyright (c) 2012 Samsung Electronics Co., Ltd.
  *
- * Licensed under the Flora License, Version 1.1 (the License);
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
+ *
+ * Contact: MyoungJune Park <mj2004.park@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.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/
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
+ * 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 __SETTING_DISPLAY_MAIN_H__
 #define __SETTING_DISPLAY_MAIN_H__
 
 #include <setting-display.h>
-
+#include <setting-display-brightness.h>
 /** @todo need to i18n string registration */
-#define LAUNCH_EFFECT_STR "IDS_ST_BODY_APP_OPENING_EFFECT"
-#define LAUNCH_IMAGE_STR  "IDS_ST_BODY_APP_OPENING_IMAGE"
-#define LAUNCH_BATTERY_STR  "IDS_ST_BODY_BATTERY_PERCENTAGE_ABB"
-
-#define KeyStr_AdjustScreenTone "IDS_ST_MBODY_AUTO_ADJUST_SCREEN_TONE"
-#define KeyStr_AdjustScreenTone_Dsc "IDS_ST_BODY_SAVE_POWER_BY_ADJUSTING_SCREEN_TONE_ACCORDING_TO_ANALYSIS_OF_IMAGES"
-
-#define LAUNCH_BATTERY_DESC  "IDS_ST_BODY_SHOWS_BATTERY_PERCENTAGE_ON_INDICATOR"
-
-#define SETTING_DISPLAY_TIME_15_SEC_STR "IDS_ST_BODY_15SEC"
-#define SETTING_DISPLAY_TIME_30_SEC_STR "IDS_ST_BODY_30SEC"
-#define SETTING_DISPLAY_TIME_1_MIN_STR "IDS_COM_BODY_1_MINUTE"
 
-#define SETTING_DISPLAY_TIME_2_MIN_STR "IDS_ST_BODY_2_MINUTES"
-#define SETTING_DISPLAY_TIME_5_MIN_STR "IDS_ST_BODY_5_MINUTES"
-#define SETTING_DISPLAY_TIME_10_MIN_STR "IDS_ST_BODY_10_MINUTES"
 
 static void setting_display_main_battery_chk_btn_cb(void *data,
                                                    Evas_Object *obj,
                                                    void *event_info);
 static void setting_display_main_auto_adjust_chk_btn_cb(void *data, Evas_Object *obj, void *event_info);
+static void setting_display_main_auto_rotate_chk_btn_cb(void *data, Evas_Object *obj, void *event_info);
 static void setting_display_main_mouse_up_Gendial_list_cb(void *data,
                                                          Evas_Object *obj,
                                                          void *event_info);
-static void setting_display_main_click_softkey_back_cb(void *data,
+static Eina_Bool setting_display_main_click_softkey_back_cb(void *data,
                                                       Evas_Object *obj,
                                                       void *event_info);
 #if OPENING_EFFECT