fix warning: unused parameter ‘reason’
[profile/ivi/lemolo.git] / dialer / contacts.h
1 #ifndef _EFL_OFONO_CONTACTS_H__
2 #define _EFL_OFONO_CONTACTS_H__ 1
3
4 typedef struct _Contact_Info Contact_Info;
5
6 Evas_Object *contacts_add(Evas_Object *parent);
7
8 Contact_Info *contact_search(Evas_Object *obj, const char *number, const char **type);
9
10 const char *contact_info_picture_get(const Contact_Info *c);
11
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);
15
16 const char *contact_info_detail_get(const Contact_Info *c, const char *type);
17
18 const char *contact_info_number_check(const Contact_Info *c, const char *number);
19
20 Eina_Bool contact_info_picture_set(Contact_Info *c, const char *filename);
21
22 Eina_Bool contact_info_first_name_set(Contact_Info *c, const char *name);
23
24 Eina_Bool contact_info_last_name_set(Contact_Info *c, const char *name);
25
26 Eina_Bool contact_info_detail_set(Contact_Info *c, const char *type, const char *number);
27
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);
30
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);
34
35 #endif