4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 * Syam Sidhardhan <s.syam@samsung.com>
8 * Chanyeol Park <chanyeol.park@samsung.com>
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
24 #ifndef BLUETOOTH_MAP_TYPES_H_
25 #define BLUETOOTH_MAP_TYPES_H_
31 #define FOLDER_COUNT 5 /* INBOX, OUTBOX, SENT, DRAFT, DELETED*/
32 #define MSG_TYPES 2 /* GSM_SMS, EMAIL*/
33 #define BT_MAP_SUBJECT_MAX_LEN 50
35 #define FILTER_TYPE_SMS_GSM 0x01
36 #define FILTER_TYPE_SMS_CDMA 0x02
37 #define FILTER_TYPE_EMAIL 0x04
38 #define FILTER_TYPE_MMS 0x08
40 #define FILTER_READ_STATUS_ALL 0x00
41 #define FILTER_READ_STATUS_UNREAD 0x01
42 #define FILTER_READ_STATUS_READ 0x02
44 #define FILTER_PRIORITY_ALL 0x00
45 #define FILTER_PRIORITY_HIGH 0x01
46 #define FILTER_PRIORITY_LOW 0x02
53 char *sender_addressing;
55 char *recipient_addressing;
58 char *reception_status;
59 char *attachment_size;
60 char *replyto_addressing;
66 time_t time; /* for sorting */
78 BT_MSG_SOURCE_SMS = 0,
95 guint32 parameter_mask;
108 #endif /* BLUETOOTH_MAP_TYPES_H_ */