Merge "custom eail widget implementation" into tizen
[platform/core/uifw/eail.git] / eail / eail_route.c
1 /*
2  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; see the file COPYING.LIB.  If not, write to
16  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19
20 /**
21  * @file eail_route.c
22  * @brief EailRoute implementation
23  */
24
25 #include <Elementary.h>
26
27 #include "eail_route.h"
28
29
30 /**
31 * @brief Define EailRoute GObject type
32 */
33  G_DEFINE_TYPE(EailRoute, eail_route, EAIL_TYPE_WIDGET);
34
35 /**
36  * @brief EailRoute object initialization
37  *
38  * @param obj AtkObject instance
39  * @param data user set additional initialization data
40  */
41 static void
42 eail_route_initialize(AtkObject *obj, gpointer data)
43 {
44    ATK_OBJECT_CLASS(eail_route_parent_class)->initialize(obj, data);
45
46    obj->role = ATK_ROLE_IMAGE_MAP;
47 }
48
49 /**
50  * @brief EailRoute instance initialization
51  *
52  * @param route EailRoute instance
53  */
54 static void
55 eail_route_init(EailRoute *route)
56 {
57 }
58
59 /**
60  * @brief GObject type initialization function
61  *
62  * @param klass EailRouteClass instance
63  */
64 static void
65 eail_route_class_init(EailRouteClass *klass)
66 {
67    AtkObjectClass *atk_class = ATK_OBJECT_CLASS(klass);
68
69    atk_class->initialize = eail_route_initialize;
70 }
71
72