[Title] Initial upload the browser for tizen 2.0
[profile/ivi/org.tizen.browser.git] / src / browser-settings / browser-settings-edit-homepage-view.h
1 /*\r
2  * Copyright 2012  Samsung Electronics Co., Ltd\r
3  *\r
4  * Licensed under the Flora License, Version 1.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *    http://www.tizenopensource.org/license\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  *\r
16  */\r
17 \r
18 \r
19 #ifndef BROWSER_SETTINGS_EDIT_HOMEPAGE_H\r
20 #define BROWSER_SETTINGS_EDIT_HOMEPAGE_H\r
21 \r
22 #include "browser-common-view.h"\r
23 #include "browser-config.h"\r
24 #include "browser-settings-main-view.h"\r
25 \r
26 class Browser_Settings_Edit_Homepage_View : public Browser_Common_View {\r
27 public:\r
28         Browser_Settings_Edit_Homepage_View(Browser_Settings_Main_View *main_view);\r
29         ~Browser_Settings_Edit_Homepage_View(void);\r
30 \r
31         Eina_Bool init(void);\r
32 private:\r
33         Eina_Bool _create_main_layout(void);\r
34 \r
35         /* elementary event callback functions */\r
36         static void __back_button_clicked_cb(void *data, Evas_Object *obj, void *event_info);\r
37         static void __done_button_clicked_cb(void *data, Evas_Object *obj, void *event_info);\r
38         static void __cancel_button_clicked_cb(void *data, Evas_Object *obj, void *event_info);\r
39         static void __edit_field_changed_cb(void *data, Evas_Object *obj, void *event_info);\r
40 \r
41         Evas_Object *m_content_layout;\r
42         Evas_Object *m_edit_field;\r
43         Evas_Object *m_done_button;\r
44         Evas_Object *m_cancel_button;\r
45 \r
46         Browser_Settings_Main_View *m_main_view;\r
47 };\r
48 \r
49 #endif /* BROWSER_SETTINGS_EDIT_HOMEPAGE_H */\r
50 \r