2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://floralicense.org/license/
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.
22 #ifndef __DEF_MF_UG_CONF_H_
23 #define __DEF_MF_UG_CONF_H_
25 #include <Elementary.h>
27 #define UGPACKAGE "ug-myfile-efl"
28 #define UGPKGNAME_MYFILE "org.tizen.myfile"
29 #define UGLOCALEDIR "/usr/ug/res/locale"
31 #define UG_EDJ_PATH "/usr/ug/res/edje/ug-myfile-efl"
32 #define UG_ICON_PATH "/usr/ug/res/images/ug-myfile-efl"
34 #define UG_EDJ_NAVIGATIONBAR UG_EDJ_PATH"/ug_navibar_layout.edj"
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)
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 #define UG_SELECT_MODE_SAVE "SAVE"
54 #define UG_FILE_FILTER_IMAGE "IMAGE"
55 #define UG_FILE_FILTER_SOUND "SOUND"
56 #define UG_FILE_FILTER_VIDEO "VIDEO"
57 #define UG_FILE_FILTER_FLASH "FLASH"
58 #define UG_FILE_FILTER_FOLDER "FOLDER"
59 #define UG_FILE_FILTER_IV "IV"
60 #define UG_FILE_FILTER_IS "IS"
61 #define UG_FILE_FILTER_VS "VS"
62 #define UG_FILE_FILTER_ALL "ALL"
64 #define UG_DRM_FILTER_ALL "DRM_ALL"
65 #define UG_DRM_FILTER_NONE "DRM_NONE"
66 #define UG_DRM_FILTER_WITHOUT_FL "DRM_WITHOUT_FL"
68 #define UG_MUSIC_PATH "/opt/usr/media/Sounds and music/Music"
69 #define UG_RINGTION_PATH "/opt/usr/media/Sounds and music/Ringtones"
70 #define UG_SETTING_RINGTONE_PATH "/opt/share/settings/Ringtones"
71 #define UG_SETTING_MSG_ALERTS_PATH "/opt/share/settings/Alerts"
72 #define UG_SETTING_ALERTS_PATH "/opt/share/settings/Alarms"
74 #define MAX_MESSAGE_LEN 1024
75 #define ACCUMULATED_DATE 86400 /* 24*60*60 */
77 #define DRM_MESSAGE_LEN 256
78 #define UG_LABEL_STRING_LENGTH 128
80 #define UG_TIME_FORMAT "02u:%02u:%02u"
81 #define UG_TIME_ARGS(t) \
86 #define _EDJ(o) elm_layout_edje_get(o)
88 #define INTERVAL_THUMB_UPDATE 0.5
90 #endif /* __DEF_MYFILE_CONF_H_ */