Merge "N_SE-24408 : Fix B/S after resend from MMS viewer" into tizen_2.0
[apps/core/preloaded/message-app.git] / viewer / include / msg-ui-viewer-types.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.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://floralicense.org/license
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 __MSG_UI_VIEWER_TYPE_H__
18 #define __MSG_UI_VIEWER_TYPE_H__
19 /*==================================================================================================
20  *                                                                      INCLUDE HEADERS
21  *==================================================================================================*/
22 #include <msg.h>
23 #include <stdio.h>
24 #include <string.h>
25 #include <stdlib.h>
26
27 /*==================================================================================================
28  *                                                                              DEFINITIONS
29  *==================================================================================================*/
30 #ifndef TRUE
31 #define TRUE    1
32 #endif
33 #ifndef FALSE
34 #define FALSE   0
35 #endif
36
37 #ifndef MSG_BOOL
38 #define MSG_BOOL char
39 #endif
40
41 #define MSG_VIEWER_CONTENT_PATH "/opt/usr/media"
42 #define MSG_VIEWER_DOWNLOAD_PATH        MSG_VIEWER_CONTENT_PATH"/Downloads"
43 #define MSG_VIEWER_FILENAME_MAX_LEN     MSG_FILENAME_LEN_MAX    /*255*/
44 #define MSG_VIEWER_FILEPATH_MAX_LEN     MSG_FILEPATH_LEN_MAX    /*1024*/
45 #define MSG_VIEWER_FILE_EXT_MAX_LEN     8
46
47 #define UG_CONTACTS_DETAILS     "contacts-details-efl"
48 #define UG_CONTACTS_LIST        "contacts-list-efl"
49
50 #endif /*__MSG_UI_VIEWER_TYPE_H__*/
51