2 * Copyright 2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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
8 * http://floralicense.org/license/
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.
18 #ifndef __MF_LANGUAGE_CHANGER_H
19 #define __MF_LANGUAGE_CHANGER_H
22 #include <Elementary.h>
26 OBJ_TYPE_ELM_OBJECT, //elm_object_text_set(obj, text)
27 OBJ_TYPE_EDJE_OBJECT, //edje_object_part_text_set(obj, part, text)
40 int mf_language_mgr_create();
41 int mf_language_mgr_destroy();
43 /*part and string_id must be static*/
44 void mf_language_mgr_register_object(Evas_Object *obj, obj_type type, const char *part, const char *string_id);
45 void mf_language_mgr_register_object_item(Elm_Object_Item *object_item, const char *text_ID, item_type type);
46 void mf_language_mgr_unregister_object_item(Elm_Object_Item *object_item);
47 void mf_language_mgr_unregister_object_item_by_type(item_type type);
49 void mf_language_mgr_object_item_text_ID_set(Elm_Object_Item *object_item, const char *text_ID);
52 void mf_language_mgr_register_genlist_item(Elm_Object_Item *item);
53 void mf_language_mgr_unregister_genlist_item(Elm_Object_Item *item);
55 void mf_language_mgr_register_gengrid_item(Elm_Object_Item *item);
56 void mf_language_mgr_unregister_gengrid_item(Elm_Object_Item *item);
58 void mf_language_mgr_update();