4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Jayoun Lee <airjany@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 #ifndef __UG_MANAGER_H__
23 #define __UG_MANAGER_H__
27 int ugman_ug_add(ui_gadget_h parent, ui_gadget_h ug);
28 ui_gadget_h ugman_ug_load(ui_gadget_h parent,
33 int ugman_ug_del(ui_gadget_h ug);
34 int ugman_ug_del_all(void);
36 int ugman_init(Display *disp, Window xid, void *win, enum ug_option opt);
37 int ugman_resume(void);
38 int ugman_pause(void);
39 int ugman_send_event(enum ug_event event);
40 int ugman_send_key_event(enum ug_key_event event);
41 int ugman_send_message(ui_gadget_h ug, service_h msg);
43 void *ugman_get_window(void);
45 int ugman_ug_exist(ui_gadget_h ug);
47 #endif /* __UG_MANAGER_H__ */