Update change log and spec for wrt-plugins-tizen_0.2.73
[profile/ivi/wrt-plugins-tizen.git] / src / platform / Tizen / Messaging / EmailConverter.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 #ifndef _TIZEN_MESSAGING_EMAILCONVERTER_H_
18 #define _TIZEN_MESSAGING_EMAILCONVERTER_H_
19
20 #include <email-types.h>
21
22 #include <API/Messaging/MessagePriority.h>
23 #include <API/Messaging/IMessagingTypes.h>
24
25 namespace TizenApis {
26 namespace Platform {
27 namespace Messaging {
28 namespace EmailConverter {
29 email_mail_priority_t toMailPriority(Api::Messaging::MessagePriority::Priority priority);
30
31 Api::Messaging::MessagePriority::Priority toMessagePriority(email_mail_priority_t priority);
32 Api::Messaging::MessagePriority::Priority toMessagePriority(unsigned char priority);
33
34 email_mailbox_type_e toMailboxType(Api::Messaging::FolderType folder);
35
36 const char* toMailboxName(Api::Messaging::FolderType folder);
37
38 Api::Messaging::FolderType toFolderType(email_mailbox_type_e mailboxType);
39 Api::Messaging::FolderType toFolderType(int mailboxType);
40
41 }
42 }
43 }
44 }
45 #endif