65d26b8a420a5859f42a21b06fdf9c95714d7c90
[framework/web/wrt-plugins-common.git] / src / modules / 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 #ifndef WAC_MESSAGING_EMAILCONVERTER_H_
17 #define WAC_MESSAGING_EMAILCONVERTER_H_
18
19 #include <emf-types.h>
20
21 #include <API/Messaging/MessagePriority.h>
22 #include <API/Messaging/IMessagingTypes.h>
23
24 namespace WrtDeviceApis {
25 namespace Messaging {
26 namespace EmailConverter {
27 emf_mail_priority_t toMailPriority(Api::MessagePriority::Priority priority);
28
29 Api::MessagePriority::Priority toMessagePriority(emf_mail_priority_t priority);
30 Api::MessagePriority::Priority toMessagePriority(unsigned char priority);
31
32 emf_mailbox_type_e toMailboxType(Api::FolderType folder);
33
34 const char* toMailboxName(Api::FolderType folder);
35
36 Api::FolderType toFolderType(emf_mailbox_type_e mailboxType);
37 }
38 }
39 }
40
41 #endif