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://www.tizenopensource.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.
18 #ifndef __DEF_indicator_H_
19 #define __DEF_indicator_H_
21 #include <Elementary.h>
26 # define PACKAGE "indicator"
29 #if !defined(LOCALEDIR)
30 # define LOCALEDIR "/usr/apps/com.samsung.indicator/res/locale"
34 # define EDJDIR "/usr/apps/com.samsung.indicator/res/edje"
38 # define ICONDIR "/usr/apps/com.samsung.indicator/res/icons"
41 #define EDJ_FILE EDJDIR"/"PACKAGE".edj"
42 #define ICON_THEME_FILE EDJDIR"/"PACKAGE"_icon_theme.edj"
43 #define ICON_NONFIXED_THEME_FILE EDJDIR"/"PACKAGE"_icon_nonfixed_theme.edj"
45 #define _S(str) dgettext("sys_string", str)
46 #define _(str) gettext(str)
48 #define HOME_SCREEN_NAME "com.samsung.live-magazine"
49 #define MENU_SCREEN_NAME "com.samsung.menu-screen"
50 #define LOCK_SCREEN_NAME "com.samsung.idle-lock"
51 #define QUICKPANEL_NAME "E Popup"
52 #define CALL_NAME "com.samsung.call"
53 #define VTCALL_NAME "com.samsung.vtmain"
59 /* full line of indicator */
60 /* CAUTION: Don't change order!!!! */
67 enum indicator_opacity_mode{
68 INDICATOR_OPACITY_OPAQUE = 0,
69 INDICATOR_OPACITY_TRANSLUCENT,
70 INDICATOR_OPACITY_TRANSPARENT,
75 Evas_Object *win_main;
76 Evas_Object *layout_main; /* layout widget based on EDJ */
78 #ifdef HOME_KEY_EMULATION
79 /* for H/W home key emulation */
80 Ecore_X_Atom atom_hwkey;
81 Ecore_X_Window win_hwkey;
82 #endif /* HOME_KEY_EMULATION */
96 Eina_List *evt_handlers;
98 enum indicator_opacity_mode opacity_mode;
100 enum _win_type top_win;
107 void (*update_display) (int);
110 #endif /* __DEF_indicator_H__ */