Update change log and spec for wrt-plugins-tizen_0.4.49
[framework/web/wrt-plugins-tizen.git] / src / Contact / ContactTypes.h
1 //
2 // Tizen Web Device API
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file       ContactTypes.h
20  * @author     Kisub Song (kisubs.song@samsung.com)
21  * @version    0.1
22  * @brief
23  */
24
25 #ifndef _API_CONTACT_CONTACT_TYPES_H_
26 #define _API_CONTACT_CONTACT_TYPES_H_
27
28 #include <vector>
29 #include <dpl/shared_ptr.h>
30
31 namespace DeviceAPI {
32 namespace Contact {
33
34 typedef std::vector<std::string> StringArray;
35 typedef DPL::SharedPtr<StringArray> StringArrayPtr;
36
37 //typedef std::vector<std::string> AttributesOfInterestArray;
38 //typedef DPL::SharedPtr<AttributesOfInterestArray> AttributesOfInterestArrayPtr;
39
40 enum ContactEmailAddressType
41 {
42         CONTACT_EMAIL_TYPE_NULL ,
43         CONTACT_EMAIL_TYPE_WORK ,
44         CONTACT_EMAIL_TYPE_PREF ,
45         CONTACT_EMAIL_TYPE_HOME ,
46         CONTACT_EMAIL_TYPE_MOBILE
47 };
48
49 enum ContactPhoneNumberType
50 {
51         CONTACT_PHONE_NUMBER_TYPE_NULL,
52         CONTACT_PHONE_NUMBER_TYPE_WORK,
53         CONTACT_PHONE_NUMBER_TYPE_PREF,
54         CONTACT_PHONE_NUMBER_TYPE_HOME,
55         CONTACT_PHONE_NUMBER_TYPE_VOICE,
56         CONTACT_PHONE_NUMBER_TYPE_FAX,
57         CONTACT_PHONE_NUMBER_TYPE_MSG,
58         CONTACT_PHONE_NUMBER_TYPE_CELL,
59         CONTACT_PHONE_NUMBER_TYPE_PAGER,
60         CONTACT_PHONE_NUMBER_TYPE_BBS,
61         CONTACT_PHONE_NUMBER_TYPE_MODEM,
62         CONTACT_PHONE_NUMBER_TYPE_CAR,
63         CONTACT_PHONE_NUMBER_TYPE_ISDN,
64         CONTACT_PHONE_NUMBER_TYPE_VIDEO,
65         CONTACT_PHONE_NUMBER_TYPE_PCS,
66         CONTACT_PHONE_NUMBER_TYPE_ASSISTANT
67 };
68
69 enum ContactAddressType
70 {
71         CONTACT_ADDRESS_TYPE_NULL,
72         CONTACT_ADDRESS_TYPE_WORK,
73         CONTACT_ADDRESS_TYPE_PREF,
74         CONTACT_ADDRESS_TYPE_HOME,
75         CONTACT_ADDRESS_TYPE_DOM,
76         CONTACT_ADDRESS_TYPE_INTL,
77         CONTACT_ADDRESS_TYPE_POSTAL,
78         CONTACT_ADDRESS_TYPE_PARCEL
79 };
80
81 enum ContactWebSiteType
82 {
83         WEBSITE_TYPE_NULL,
84         WEBSITE_TYPE_HOMEPAGE,
85         WEBSITE_TYPE_BLOG
86 };
87
88 enum ContactOrganizationType
89 {
90         ORGANIZATION_TYPE_NULL,
91         ORGANIZATION_TYPE_WORK,
92         ORGANIZATION_TYPE_OTHER
93 };
94
95 enum ContactVCardFormat
96 {
97         VCARD_30_FORMAT
98 };
99
100 } // Contact
101 } // DeviceAPI
102
103 #endif // _API_CONTACT_CONTACT_TYPES_H_
104