Tizen 2.1 base
[apps/home/ug-myfile-efl.git] / src / include / mf-ug-conf.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
19
20
21
22 #ifndef __DEF_MF_UG_CONF_H_
23 #define __DEF_MF_UG_CONF_H_
24
25 #include <Elementary.h>
26
27 #define UGPACKAGE                               "ug-myfile-efl"
28 #define UGPKGNAME_MYFILE                        "org.tizen.myfile"
29 #define UGLOCALEDIR                             "/usr/ug/res/locale"
30
31 #define UG_EDJ_PATH                             "/usr/ug/res/edje/ug-myfile-efl"
32 #define UG_ICON_PATH                            "/usr/ug/res/images/ug-myfile-efl"
33
34 #define UG_EDJ_NAVIGATIONBAR                    UG_EDJ_PATH"/ug_navibar_layout.edj"
35
36
37 #define UG_GRP_LIST                             "effect/model/list"
38 #define UG_GRP_NAVI_VIEW                        "navigation_view"
39 #define UG_GRP_NO_CONTENT                       "noContent"
40 #define UG_GRP_PATH_INFO                        "pathinfo"
41 #define UG_OPTION_COUNT                         5
42 #define UG_ERROR_RETURN                         (-1)
43
44 #define UG_SELECT_MODE_MULTI_ALL                "MULTI_ALL"
45 #define UG_SELECT_MODE_SINGLE_ALL               "SINGLE_ALL"
46 #define UG_SELECT_MODE_MULTI_FILE               "MULTI_FILE"
47 #define UG_SELECT_MODE_SINGLE_FILE              "SINGLE_FILE"
48 #define UG_SELECT_MODE_IMPORT                   "IMPORT"
49 #define UG_SELECT_MODE_IMPORT_SINGLE                    "IMPORT_SINGLE"
50 #define UG_SELECT_MODE_EXPORT                   "EXPORT"
51 #define UG_SELECT_MODE_SHORTCUT                 "SHORTCUT"
52
53 #define UG_FILE_FILTER_IMAGE                    "IMAGE"
54 #define UG_FILE_FILTER_SOUND                    "SOUND"
55 #define UG_FILE_FILTER_VIDEO                    "VIDEO"
56 #define UG_FILE_FILTER_FLASH                    "FLASH"
57 #define UG_FILE_FILTER_FOLDER                   "FOLDER"
58 #define UG_FILE_FILTER_IV                       "IV"
59 #define UG_FILE_FILTER_IS                       "IS"
60 #define UG_FILE_FILTER_VS                       "VS"
61 #define UG_FILE_FILTER_ALL                      "ALL"
62
63 #define UG_DRM_FILTER_ALL                       "DRM_ALL"
64 #define UG_DRM_FILTER_NONE                      "DRM_NONE"
65 #define UG_DRM_FILTER_WITHOUT_FL                "DRM_WITHOUT_FL"
66
67 #define UG_MUSIC_PATH                           "/opt/usr/media/Sounds and music/Music"
68 #define UG_RINGTION_PATH                        "/opt/usr/media/Sounds and music/Ringtones"
69 #define UG_SETTING_RINGTONE_PATH                "/opt/share/settings/Ringtones"
70 #define UG_SETTING_MSG_ALERTS_PATH              "/opt/share/settings/Alerts"
71 #define UG_SETTING_ALERTS_PATH                  "/opt/share/settings/Alarms"
72
73 #define MAX_MESSAGE_LEN                         1024
74 #define ACCUMULATED_DATE                        86400   /* 24*60*60 */
75
76 #define DRM_MESSAGE_LEN                         256
77 #define UG_LABEL_STRING_LENGTH                  128
78
79 #define UG_TIME_FORMAT "02u:%02u:%02u"
80 #define UG_TIME_ARGS(t) \
81         (t) / (3600), \
82         ((t) / 60) % 60, \
83         (t) % 60
84
85 #define _EDJ(o) elm_layout_edje_get(o)
86
87 #define INTERVAL_THUMB_UPDATE   0.5
88
89 #endif /* __DEF_MYFILE_CONF_H_ */