2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (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.
19 #ifndef __APP_COMMON_H__
20 #define __APP_COMMON_H__
22 #include <Elementary.h>
25 #include <X11/Xatom.h>
26 #include <X11/Xutil.h>
30 #define LOG_TAG "APP-SELECTOR"
32 #define _E(fmt, arg...) LOGE("[%s,%d] "fmt,__FUNCTION__,__LINE__,##arg)
33 #define _D(fmt, arg...) LOGD("[%s,%d] "fmt,__FUNCTION__,__LINE__,##arg)
37 # define PACKAGE "app-selector"
40 #if !defined(LOCALEDIR)
41 # define LOCALEDIR "/usr/share/locale"
44 #define ICON_PATH PREFIX"/share/icon"
46 #define NAME_BUF_LEN (128)
47 #define _EDJ(x) elm_layout_edje_get(x)
49 #define _(msgid) gettext(msgid)
50 #define N_(msgid) gettext_noop(msgid)
55 Ecore_Event_Handler *key_up;
56 Ecore_Event_Handler *rotate;
59 Evas_Object *default_popup;
63 Evas_Object *app_genlist;
77 /* add more variables here */
80 struct _select_app_info {
89 #endif /* __APP_COMMON_H__ */