Deprecating email module
[platform/core/api/email.git] / include / email_types.h
1 /*
2  * Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef __TIZEN_EMAIL_TYPES_H__
19 #define __TIZEN_EMAIL_TYPES_H__
20
21
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26
27
28 /**
29  * @addtogroup CAPI_MESSAGING_EMAIL_MODULE
30  * @{
31  */
32
33
34 /**
35  * @file email_types.h
36  * @ingroup CAPI_MESSAGING_EMAIL_MODULE
37  * @brief This file defines common types and enums of EMAIL.
38  */
39
40
41 /**
42  * @deprecated Deprecated since 8.0.
43  * @brief The email message handle.
44  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
45  */
46 typedef struct email_s *email_h;
47
48
49 /**
50  * @deprecated Deprecated since 8.0.
51  * @brief Enumeration for the result values of email transport.
52  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
53  */
54 typedef enum {
55         EMAIL_SENDING_FAILED = -1, /**< Email sending failed */
56         EMAIL_SENDING_SUCCEEDED = 0, /**< Email sending succeeded */
57 } email_sending_e;
58
59
60 /**
61  * @deprecated Deprecated since 8.0.
62  * @brief Enumeration for the email recipient types.
63  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
64  */
65 typedef enum {
66         EMAIL_RECIPIENT_TYPE_TO = 1, /**< Normal recipient */
67         EMAIL_RECIPIENT_TYPE_CC , /**< CC(carbon copy) recipient */
68         EMAIL_RECIPIENT_TYPE_BCC , /**< BCC(blind carbon copy) recipient */
69 } email_recipient_type_e;
70
71
72 /**
73  * @}
74  */
75  
76  
77 #ifdef __cplusplus
78 }
79 #endif
80
81
82 #endif /* __TIZEN_EMAIL_TYPES_H__*/
83
84