Merge "custom eail widget implementation" into tizen
[platform/core/uifw/eail.git] / eail / eail_conformant.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_conformant.c
22  * @brief EailConformant implementation
23  */
24
25 #include <Elementary.h>
26
27 #include "eail_conformant.h"
28
29 /**
30  * @brief EailConformant type definition
31  */
32 G_DEFINE_TYPE(EailConformant, eail_conformant, EAIL_TYPE_LAYOUT);
33
34 /**
35  * @brief EailConformant initializer
36  *
37  * @param obj AtkObject instance
38  * @param data initialization data
39  */
40 static void
41 eail_conformant_initialize(AtkObject *obj, gpointer data)
42 {
43    ATK_OBJECT_CLASS(eail_conformant_parent_class)->initialize(obj, data);
44
45    obj->role = ATK_ROLE_FILLER;
46 }
47
48 /**
49  * @brief EailConformant instance initializer
50  *
51  * @param conformant EailConformant instance
52  */
53 static void
54 eail_conformant_init(EailConformant *conformant)
55 {
56 }
57
58 /**
59  * @brief EailConformant class initializer
60  *
61  * @param klass EailConformantClass instance to be filled
62  */
63 static void
64 eail_conformant_class_init(EailConformantClass *klass)
65 {
66    AtkObjectClass *atk_class = ATK_OBJECT_CLASS(klass);
67
68    atk_class->initialize = eail_conformant_initialize;
69 }