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 __UI_GADGET_ENGINE_H__
23 #define __UI_GADGET_ENGINE_H__
26 * @defgroup UI_Gadget_For_Developer Developer API Reference Guide
28 * @brief A engine to develop a UI gadget. Callees (UI gadgets) uses this engines and APIs. (callee -> caller)
30 * @section Header To Use Them:
32 * #include <ui-gadget-engine.h>
37 * @addtogroup UI_Gadget_For_Developer
42 #include "ui-gadget.h"
49 * UI gadget engine operation type
50 * @see @ref lifecycle_sec
52 struct ug_engine_ops {
53 /** create operation */
54 void *(*create)(void *win, struct ui_gadget *ug, void(*hide_end_cb)(struct ui_gadget *ug));
55 /** destroy operation */
56 void (*destroy)(struct ui_gadget *ug, struct ui_gadget *fv_top);
57 /** reserved operations */
69 #endif /* __UI_GADGET_ENGINE_H__ */