From 41b2478dc578156bb904201f8f6e2d9d35c26f9f Mon Sep 17 00:00:00 2001 From: Sunggoo Kim Date: Tue, 21 Aug 2012 18:17:42 +0900 Subject: migration --- lib/details/ct-input-utils.h | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 lib/details/ct-input-utils.h (limited to 'lib/details/ct-input-utils.h') diff --git a/lib/details/ct-input-utils.h b/lib/details/ct-input-utils.h new file mode 100755 index 0000000..cece9a2 --- /dev/null +++ b/lib/details/ct-input-utils.h @@ -0,0 +1,53 @@ +/* + * Copyright 2012 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.tizenopensource.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_INPUT_UTILS_H__ +#define __CONTACTS_INPUT_UTILS_H__ + +CTSvalue* ct_input_get_event(CTSstruct *contact, int event_type); +int ct_input_get_base_ab(void); +void ct_input_camera(void *data, Evas_Object *obj, void *event_info); +void ct_input_gallery(void *data, Evas_Object *obj, void *event_info); +void ct_input_myfile_ringtone(ct_input_data *cinput_d); +void ct_input_save_cb(void *data, Evas_Object *obj, void *event_info); +void ct_input_set_default_num(ct_input_data *cinput_d, CTSvalue *val); +CTSvalue* ct_input_get_nickname(CTSstruct *contact); +CTSvalue* ct_input_get_website_value(CTSstruct* contact); +int ct_input_get_number_type(int ct_num_type); +void ct_input_contact_image_change_popup(ct_input_data *cinput_d, bool has_photo); +void ct_input_entry_changed_cb(void *data, Evas_Object *obj, void *event_info); +Evas_Object* ct_input_add_editfield(Evas_Object *parent, const char* guide_txt, + Evas_Smart_Cb unfocused_cb, void *unfocused_cb_data); +int ct_input_next_number_type(CTSstruct *contact); +int ct_input_next_email_type(CTSstruct *contact); +int ct_input_next_addr_type(CTSstruct *contact); +int ct_input_next_web_type(CTSstruct *contact); +int ct_input_next_messenger_type(CTSstruct *contact); + +enum { + INPUT_LAYOUT_NONE, + INPUT_LAYOUT_RENAME, + INPUT_LAYOUT_EDIT, +}; +Evas_Object* ct_input_create_dg_layout(Evas_Object *parent, const char *theme); +void ct_input_typed_layout_del_cb(void *data, Evas *e, Evas_Object *obj, void *event_info); +void ct_input_update_ringtone(CTSstruct *contact, Evas_Object *layout); +unsigned int ct_input_box_idx_get(Evas_Object *box, Evas_Object *obj); +void ct_input_save_button_update(ct_input_data *cinput_d); +void ct_input_name_field_add(Evas_Object *editfield, ct_input_data *cinput_d); +int ct_input_get_full_address(CTSvalue *postal, char *buf, int buf_len); + +#endif //__CONTACTS_INPUT_UTILS_H__ -- cgit v1.2.3