377f0b34a6505f913fb73293e724c25d6b51f32f
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Messaging / IMessagingTypes.h
1 /*
2 * Copyright (c) 2011 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 /**
19  *
20  *
21  * @file       IMessagingTypes.h
22  * @author     Pawel Misiak (p.misiak@samsung.com)
23  * @version    0.1
24  * @brief
25  */
26 #ifndef IMESSAGINGTYPES_H
27 #define IMESSAGINGTYPES_H
28
29 namespace TizenApis {
30 namespace Api {
31 namespace Messaging {
32
33 //--------------------------------------------------------------------------
34
35 #define NAME_SMS_TYPE           "SMS"
36 #define NAME_MMS_TYPE   "MMS"
37 #define NAME_EMAIL_TYPE         "EMAIL"
38 #define NAME_CHAT_TYPE  "CHAT"
39
40 enum MessageType
41 {
42         SMS = 1,
43         MMS,
44         EMAIL,
45         CHAT,
46         BINARYSMS,
47         VIRTUAL_MESSAGE,
48         MESSAGETYPE_COUNT
49 };
50
51 enum MessageStatus
52 {
53         MESSAGE_STATUS_SENT = 1,
54         MESSAGE_STATUS_SENDING ,
55         MESSAGE_STATUS_FAILED,
56         MESSAGE_STATUS_DRAFT,
57 };
58
59 //--------------------------------------------------------------------------
60
61 enum FolderType
62 {
63     INBOX = 1,
64     OUTBOX = 2,
65     DRAFTBOX = 3,
66     SENTBOX =4,
67     SPAMBOX,
68     ALL_FOLDERS,
69     USERDEFINED_FOLDER,
70     FOLDERTYPE_COUNT
71 };
72
73 //--------------------------------------------------------------------------
74
75 enum AddressType
76 {
77     TO_ADDRESS,
78     CC_ADDRESS,
79     BCC_ADDRESS,
80     ADDRESS_COUNT
81 };
82 }
83 }
84 }
85 #endif
86