2 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
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.
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.
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.
21 * @file eail_factory.h
23 * @brief Header for EailFactory implementation
26 #ifndef EAIL_FACTORY_H
27 #define EAIL_FACTORY_H
37 /** @brief Definition of object structure for EailFactory cache entry*/
38 typedef struct _EailFactoryObj EailFactoryObj;
40 /** @brief Definition of object structure for EailFactory cache entry*/
41 struct _EailFactoryObj
43 AtkObject *atk_obj;/**< @brief AtkObject representation*/
44 Evas_Object *evas_obj;/**< @brief Evas_Object that needs atk representation*/
45 Elm_Object_Item *obj_item;/**< @brief Elm_Object_Item that needs atk representation*/
48 AtkObject * eail_factory_get_accessible (Evas_Object *widget);
49 AtkObject * eail_factory_get_item_atk_obj (Elm_Object_Item *item,
52 void eail_factory_append_item_to_cache (AtkObject *atk_obj,
53 Elm_Object_Item *item);
54 EailFactoryObj *eail_factory_find_obj_for_item (const Elm_Object_Item *item);
55 void eail_factory_unregister_wdgt_from_cache(Evas_Object *widget);
56 void eail_factory_unregister_item_from_cache(Elm_Object_Item *item);
57 Eina_List * eail_factory_find_objects_with_role(AtkRole role);