summaryrefslogtreecommitdiff
path: root/lib/list/ct-list-edit-view.h
blob: ca3ec6f525e10b7d947d10e9823c9075665f90fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Copyright 2012 Samsung Electronics Co., Ltd
 *
 * Licensed under the Flora License, Version 1.1 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://floralicense.org/license/
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef __CONTACTS_LIST_EDIT_VIEW_H__
#define __CONTACTS_LIST_EDIT_VIEW_H__

/**
 * Module responsible for editing selected contact.
 */

void ct_list_edit_mode_end(ct_list_data *clist_d);
void ct_list_edit_cb(void *data, Evas_Object *obj, void *event_info);
void ct_list_settings_cb(void *data, Evas_Object *obj, void *event_info);
void ct_list_edit_make_edit_navi(ct_list_data *clist_d);
Evas_Object* ct_list_edit_add_check(Evas_Object *parent, Eina_Bool *checked,
        ct_list_data *clist_d);
void ct_list_item_checked_set(Elm_Object_Item *item, ct_list_data *clist_d);

/**
 * Deletes group contacts from database.
 * @param clist_d   Contact list data.
 */
void list_edit_delete_persons_without_progressbar(ct_list_data *clist_d);

/**
 * The callback function to get the result of contacts_db_update_records_async operation.
 * @param error         Error code for batch operation.
 * @param user_data     The user data passed from the batch operation.
 */
void list_edit_delete_persons_without_progressbar_cb(int err, void *data);

#endif //__CONTACTS_LIST_EDIT_VIEW_H__