Adding UrlHistoryList class and other classes managing display of 'URL from history'
[profile/tv/apps/web/browser.git] / services / QuickAccess / UrlHistoryList / GenlistManagerCallbacks.h
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef GENLISTMANAGERCALLBACKS_H_
18 #define GENLISTMANAGERCALLBACKS_H_
19
20 #include <Elementary.h>
21 #include <Evas.h>
22
23 class GenlistManager;
24
25 namespace tizen_browser
26 {
27 namespace services
28 {
29
30 class GenlistManagerCallbacks
31 {
32 public:
33         GenlistManagerCallbacks();
34         virtual ~GenlistManagerCallbacks();
35
36         static void cb_genlistAnimStop(void *data, Evas_Object *obj,
37                         void *event_info);
38         static void cb_genlistEdgeTop(void *data, Evas_Object *obj,
39                         void *event_info);
40         static void cb_genlistEdgeBottom(void *data, Evas_Object *obj,
41                         void *event_info);
42
43         static void cb_genlistActivated(void *data, Evas_Object *obj,
44                         void *event_info);
45         static void cb_genlistPressed(void *data, Evas_Object *obj,
46                         void *event_info);
47         static void cb_genlistSelected(void *data, Evas_Object *obj,
48                         void *event_info);
49         static void cb_genlistUnselected(void *data, Evas_Object *obj,
50                         void *event_info);
51
52         static void cb_genlistFocused(void *data, Evas_Object *obj,
53                         void *event_info);
54         static void cb_genlistUnfocused(void *data, Evas_Object *obj,
55                         void *event_info);
56         static void cb_genlistMouseIn(void *data, Evas *e, Evas_Object *obj,
57                         void *event_info);
58         static void cb_genlistMouseOut(void *data, Evas *e, Evas_Object *obj,
59                         void *event_info);
60
61         static void cb_itemFocused(void *data, Evas_Object *obj, void *event_info);
62         static void cb_itemUnfocused(void *data, Evas_Object *obj,
63                         void *event_info);
64         static void cb_itemMouseIn(void *data, Elm_Object_Item *it,
65             const char *emission, const char *source);
66         static void cb_itemMouseOut(void *data, Evas *e, Evas_Object *obj,
67                         void *event_info);
68 };
69
70 } /* namespace services */
71 } /* namespace tizen_browser */
72
73 #endif /* GENLISTMANAGERCALLBACKS_H_ */