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 HOME_SCREEN_NAME "com.samsung.live-magazine"
46 #define MENU_SCREEN_NAME "com.samsung.menu-screen"
47 #define LOCK_SCREEN_NAME "com.samsung.idle-lock"
48 #define QUICKPANEL_NAME "E Popup"
49 #define CALL_NAME "com.samsung.call"
50 #define VTCALL_NAME "com.samsung.vtmain"
56 /* full line of indicator */
57 /* CAUTION: Don't change order!!!! */
64 enum indicator_opacity_mode{
65 INDICATOR_OPACITY_OPAQUE = 0,
66 INDICATOR_OPACITY_TRANSLUCENT,
67 INDICATOR_OPACITY_TRANSPARENT,
72 Evas_Object *win_main;
73 Evas_Object *layout_main; /* layout widget based on EDJ */
75 #ifdef HOME_KEY_EMULATION
76 /* for H/W home key emulation */
77 Ecore_X_Atom atom_hwkey;
78 Ecore_X_Window win_hwkey;
79 #endif /* HOME_KEY_EMULATION */
93 Eina_List *evt_handlers;
95 enum indicator_opacity_mode opacity_mode;
97 enum _win_type top_win;
104 void (*update_display) (int);
107 #endif /* __DEF_indicator_H__ */