4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
6 * Contact: MyoungJune Park <mj2004.park@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.
21 #ifndef __SETTING_PLUGIN_H__
22 #define __SETTING_PLUGIN_H__
27 #include <Elementary.h>
28 #include <glib-object.h>
30 #include <setting-common-draw-widget.h>
31 #include <setting-common-view.h>
32 #include <setting-common-plugin.h>
36 typedef struct _SettingPluginUG SettingPluginUG;
39 * Setting Plugin UG context
40 * all UG function has void* as an agument. this is casted back to SettingPluginUG
41 * and the functions access app context.
43 struct _SettingPluginUG {
46 /* add more variables here (move your appdata to here) */
48 Evas_Object *win_main_layout;
51 ui_gadget_h ug_loading;
55 Evas_Object *navi_bar; /* for navigation effect */
56 //Evas_Object *view_layout;
57 setting_view *view_to_load;
61 Elm_Genlist_Item_Class itc_seperator;
62 Elm_Genlist_Item_Class itc_layout;
64 PluginNode* plugin_node;
69 extern setting_view setting_view_plugin_main;
71 void setting_plugin_layout_ug_cb(ui_gadget_h ug, enum ug_mode mode, void *priv);
73 #endif /* __SETTING_PLUGIN_H__ */