4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>,
7 * Jaeho Lee <jaeho81.lee@samsung.com>
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
24 #ifndef __SYSPOPUP_DB_H__
25 #define __SYSPOPUP_DB_H__
27 enum _def_term_action_t {
33 typedef enum _def_term_action_t def_term_action_t;
35 enum _def_endkey_action_t {
38 SYSPOPUP_KEYEND_IGNORE
41 typedef enum _def_endkey_action_t def_endkey_action_t;
43 struct _syspopup_info_t {
44 char *name; /* system popup name */
45 int prio; /* sys popup priority :
46 cf - Utilx_Notification_Level */
47 int focus; /* sys popup focus : ecore_x_icccm_hints_set */
48 unsigned int timeout; /* default system popup timeout */
49 def_term_action_t term_act; /* default terminate act */
50 def_endkey_action_t endkey_act; /* default terminate act */
51 char *pkgname; /* package name to be launched */
54 typedef struct _syspopup_info_t syspopup_info_t;
56 syspopup_info_t *_syspopup_info_get(const char *popup_name);
57 void _syspopup_info_free(syspopup_info_t *pinfo);