Tizen 2.0 Release
[apps/core/preloaded/ug-image-viewer-efl.git] / include / ivug-define.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 /*
18         ONLY system widely used definition.
19 */
20
21 #pragma once
22
23 /*
24 # use string UUID
25 ADD_DEFINITIONS("-D_USE_MEDIAINFO_STRINGID_")
26 */
27 #define _USE_MEDIAINFO_STRINGID_
28
29 #define USE_RESCAN_FILE_PATH_AT_LIST
30
31 #define IVUG_MAX_FILE_PATH_LEN (4096)
32
33 #define DIR_MASK_DEFAULT 0775
34
35 #define USE_CUSTOM_STYLE
36
37 #define IVUG_INVALID_INDEX (0)                          // index was not set
38
39 #define MAX_BYTE_LEN 254
40
41 /*
42         Time analysis data will be stored as file
43 */
44 #define TA_SAVETO_FILE
45
46 // Temp. will be removed.
47 #ifdef TARGET   // i386 does not support face function
48 #define ENABLE_FACE_MENU
49 #endif
50
51 #define USE_NEW_DB_API
52
53 #define ZOOM_LEVEL_STEP (0.7)
54 #define ZOOM_LEVEL_MAX (4)
55
56 #define USE_DEFAULT_APP_SERVICE