cf11933c5bab6b364b91f906746b89cd253e6b80
[pkgs/u/ui-gadget.git] / include / ug-module.h
1 /*
2  * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * This file is part of the UI Gadget
5  * Written by Jayoun Lee <airjany@samsung.com>, Jinwoo Nam <jwoo.nam@samsung.com>
6  *
7  * PROPRIETARY/CONFIDENTIAL
8  *
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.
19  *
20  */
21
22 #ifndef __UG_MODULE_H__
23 #define __UG_MODULE_H__
24
25 #include "ui-gadget-module.h"
26
27 struct ug_module {
28         void *handle;
29         const char *module_name;
30         struct ug_module_ops ops;
31 };
32
33 struct ug_module *ug_module_load(const char *name);
34 int ug_module_unload(struct ug_module *module);
35
36 #endif                          /* __UG_MODULE_H__ */