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.
21 #ifndef __UG_MANAGER_H__
22 #define __UG_MANAGER_H__
27 int ugman_ug_add(struct ui_gadget *parent, struct ui_gadget *ug);
28 struct ui_gadget *ugman_ug_load(struct ui_gadget *parent,
33 int ugman_ug_del(struct ui_gadget *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(struct ui_gadget *ug, bundle *msg);
43 void *ugman_get_window(void);
45 int ugman_ug_exist(struct ui_gadget *ug);
47 #endif /* __UG_MANAGER_H__ */