Merge "custom eail widget implementation" into tizen
[platform/core/uifw/eail.git] / eail / eail_glview.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_glview.c
22  * @brief EailGlview implementation
23  */
24
25 #include <Elementary.h>
26 #include "eail_glview.h"
27
28 /**
29  * @brief EailGlview type definition
30  */
31 G_DEFINE_TYPE(EailGlview, eail_glview, EAIL_TYPE_WIDGET);
32
33 /**
34  * @brief EailGlview initializer.
35  *
36  * @param obj AtkObject instance
37  * @param data initialization data
38  */
39 static void
40 eail_glview_initialize(AtkObject *obj, gpointer data)
41 {
42    ATK_OBJECT_CLASS(eail_glview_parent_class)->initialize(obj, data);
43    obj->role = ATK_ROLE_ANIMATION;
44 }
45
46 /**
47  * @brief EailGlview interface initializer.
48  *
49  * @param glview EailGlview instance
50  * */
51 static void
52 eail_glview_init(EailGlview *glview)
53 {
54 }
55
56 /**
57  * @brief EailGlview class initializer.
58  *
59  * @param klass EailGlviewClass instance
60  */
61 static void
62 eail_glview_class_init(EailGlviewClass *klass)
63 {
64    AtkObjectClass *atk_class = ATK_OBJECT_CLASS(klass);
65    atk_class->initialize = eail_glview_initialize;
66 }