diff options
Diffstat (limited to 'lib/common/include/ct-group-assign-popup.h')
-rw-r--r-- | lib/common/include/ct-group-assign-popup.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/common/include/ct-group-assign-popup.h b/lib/common/include/ct-group-assign-popup.h new file mode 100644 index 0000000..e05d670 --- /dev/null +++ b/lib/common/include/ct-group-assign-popup.h @@ -0,0 +1,37 @@ +/* + * Copyright 2012-2013 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_ASSIGN_GROUP_POPUP_H__ +#define __CONTACTS_ASSIGN_GROUP_POPUP_H__ + +#include <contacts.h> +#include <Elementary.h> + +typedef void (*ct_assign_result_cb)(void *data); + +/** + * @brief Create assign group popup for contact + * @param[in] win Applicaton window + * @param[in] navi Main naviframe + * @param[out] contact _contacts_contact record to assign groups + * @param[in] assign_cb Called when groups are assigned + * @param[in] assign_cb_data Data to pass to assign_cb + * @return popup on success, otherwise NULL + */ +Evas_Object * ct_group_assign_popup_create(Evas_Object *win, Evas_Object *navi, + contacts_record_h contact, ct_assign_result_cb assign_cb, void *assign_cb_data); + +#endif /* CT_ASSIGN_GROUP_POPUP_H_ */ |