2 * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd All Rights Reserved
4 * This file is part of the UI Gadget
5 * Written by Jayoun Lee <airjany@samsung.com>, Jinwoo Nam <jwoo.nam@samsung.com>
7 * PROPRIETARY/CONFIDENTIAL
9 * This software is the confidential and proprietary information of
10 * SAMSUNG ELECTRONICS (Confidential Information).
11 * You shall not disclose such Confidential Information and shall
12 * use it only in accordance with the terms of the license agreement
13 * you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
14 * representations or warranties about the suitability
15 * of the software, either express or implied, including but not
16 * limited to the implied warranties of merchantability, fitness for a particular purpose, or non-
17 * infringement. SAMSUNG shall not be liable for any damages suffered by licensee as
18 * a result of using, modifying or distributing this software or its derivatives.
22 #ifndef __UG_MANAGER_H__
23 #define __UG_MANAGER_H__
28 int ugman_ug_add(struct ui_gadget *parent, struct ui_gadget *ug);
29 struct ui_gadget *ugman_ug_load(struct ui_gadget *parent,
34 int ugman_ug_del(struct ui_gadget *ug);
35 int ugman_ug_del_all(void);
37 int ugman_init(Display *disp, Window xid, void *win, enum ug_option opt);
38 int ugman_resume(void);
39 int ugman_pause(void);
40 int ugman_send_event(enum ug_event event);
41 int ugman_send_key_event(enum ug_key_event event);
42 int ugman_send_message(struct ui_gadget *ug, bundle *msg);
44 void *ugman_get_window(void);
46 int ugman_ug_exist(struct ui_gadget *ug);
48 #endif /* __UG_MANAGER_H__ */