4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
6 * Contact: MyoungJune Park <mj2004.park@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
21 #ifndef __SETTING_TIME_MAIN_H__
22 #define __SETTING_TIME_MAIN_H__
24 #include <setting-time.h>
25 #include <setting-time-engine.h>
28 #define CITY_BUF_SIZE 128
29 #define GMT_BUF_SIZE 10
30 #define __MAX_PATH_SIZE 1024
33 #define SETTING_TIME_ZONEINFO_PATH "/usr/share/zoneinfo/"
34 #define SETTING_TIME_SHARE_LOCAL_PATH "/usr/share/locale"
35 #define SETTING_TZONE_SYMLINK_PATH "/opt/etc/localtime"
37 void setting_time_main_launch_worldclock_sg(void *data);
38 void setting_time_main_close_worldclock_sg(gpointer cb_data, gint argc,
41 void setting_time_main_click_softkey_left_cb(void *data, Evas_Object *obj,
43 void setting_time_main_click_softkey_caller_exist_left_cb(void *data,
46 void setting_time_main_click_softkey_caller_exist_right_cb(void *data,
49 static void setting_time_main_chk_btn_cb(void *data, Evas_Object *obj,
51 void setting_time_main_item_mouse_up_cb(void *data, Evas *e, Evas_Object *obj,
53 static void setting_time_main_mouse_up_Gendial_list_cb(void *data,
56 void setting_time_main_btn_update_ok_cb(void *cb);
57 void setting_time_main_btn_update_cancel_cb(void *cb);
58 void setting_time_update_time_date_format_string(SettingTimeUG *ad);
59 Eina_Bool setting_update_datefield(void *cb);
60 int setting_time_check_automatic_time_update_state();
61 static int __setting_set_city_tzone(const char* pTZPath);
63 #endif /* __SETTING_TIME_MAIN_H__ */