diff options
Diffstat (limited to 'composer/include/email-composer-attachment.h')
-rwxr-xr-x | composer/include/email-composer-attachment.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/composer/include/email-composer-attachment.h b/composer/include/email-composer-attachment.h new file mode 100755 index 0000000..1de0005 --- /dev/null +++ b/composer/include/email-composer-attachment.h @@ -0,0 +1,38 @@ +/* + * 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 __DEF_email_composer_attachment_H_ +#define __DEF_email_composer_attachment_H_ + +int _composer_get_attachments_total_size(EmailComposerUGD *ugd); +int _composer_get_files_size(Eina_List *files_list); +void _composer_attachment_create_list(EmailComposerUGD *ugd, Eina_List *list, Eina_Bool is_inline); +void _composer_attachment_reset(EmailComposerUGD *ugd); +int _composer_get_inline_images_size(EmailComposerUGD *ugd); +void _composer_attachment_create_list_box(EmailComposerUGD *ugd, email_attachment_data_t *attachment_data); +void _composer_attachment_add_thumbnail(EmailComposerUGD *ugd, Evas_Object *parent, char *filePath); +Evas_Object *_composer_attachment_add_delete_icon(EmailComposerUGD *ugd, Evas_Object *parent); +void _composer_attachment_add_filename(EmailComposerUGD *ugd, email_attachment_data_t * attachment_data, Evas_Object *parent); +void _composer_attachment_set_attach_data(EmailComposerUGD *ugd, Evas_Object *parent, email_attachment_data_t *attachment_data); +void _composer_attachment_create_contracted_box(EmailComposerUGD *ugd); +Evas_Object *_composer_attachment_make_thumbnail(EmailComposerUGD *ugd, char *filePath, Evas_Object *parent); +bool _composer_attachment_duplicate_check(EmailComposerUGD *ugd, char *pszAttachedFilePath); +void _composer_attachment_expand_items(EmailComposerUGD *ugd); +void _composer_attachment_contract_items(EmailComposerUGD *ugd); +int _composer_attachment_make_ethumb(const char *source, char *target); +void _composer_ethumb_generate_cb(void *data, Ethumb *e, Eina_Bool success); + +#endif /* __DEF_email_composer_attachment_H__ */ |