1 #ifndef _EFL_OFONO_CONTACTS_H__
2 #define _EFL_OFONO_CONTACTS_H__ 1
4 typedef struct _Contact_Info Contact_Info;
6 Evas_Object *contacts_add(Evas_Object *parent);
8 Contact_Info *contact_search(Evas_Object *obj, const char *number, const char **type);
10 const char *contact_info_picture_get(const Contact_Info *c);
12 const char *contact_info_full_name_get(const Contact_Info *c);
13 const char *contact_info_first_name_get(const Contact_Info *c);
14 const char *contact_info_last_name_get(const Contact_Info *c);
16 const char *contact_info_detail_get(const Contact_Info *c, const char *type);
18 const char *contact_info_number_check(const Contact_Info *c, const char *number);
20 Eina_Bool contact_info_picture_set(Contact_Info *c, const char *filename);
22 Eina_Bool contact_info_first_name_set(Contact_Info *c, const char *name);
24 Eina_Bool contact_info_last_name_set(Contact_Info *c, const char *name);
26 Eina_Bool contact_info_detail_set(Contact_Info *c, const char *type, const char *number);
28 void contact_info_on_changed_callback_add(Contact_Info *c, void (*cb)(void *data, Contact_Info *c), const void *data);
29 void contact_info_on_changed_callback_del(Contact_Info *c, void (*cb)(void *data, Contact_Info *c), const void *data);
31 void contact_info_on_del_callback_add(Contact_Info *c, void (*cb)(void *data, const Contact_Info *c), const void *data);
32 void contact_info_on_del_callback_del(Contact_Info *c, void (*cb)(void *data, const Contact_Info *c), const void *data);
33 void contact_info_del(Contact_Info *c);