00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "gwebpluginlist.h"
00025
00026
00027
00028 static void
00029 g_web_plugin_list_base_init (gpointer g_class)
00030 {
00031 static gboolean initialized = FALSE;
00032
00033 if (!initialized) {
00034
00035 initialized = TRUE;
00036 }
00037 }
00038
00039 GType
00040 g_web_plugin_list_get_type (void)
00041 {
00042 static GType type = 0;
00043 if (type == 0) {
00044 static const GTypeInfo info = {
00045 sizeof (GWebPluginListIface),
00046 g_web_plugin_list_base_init,
00047 NULL,
00048 NULL,
00049 NULL,
00050 NULL,
00051 0,
00052 0,
00053 NULL
00054 };
00055 type = g_type_register_static (G_TYPE_INTERFACE, "GWebPluginList", &info, 0);
00056 }
00057 return type;
00058 }
00059
00060 void
00061 g_web_plugin_list_destroy (GWebPluginList *self)
00062 {
00063 G_WEB_PLUGIN_LIST_GET_CLASS (self)->destroy (self);
00064 }
00065
00066 GObject*
00067 g_web_plugin_list_get_items (GWebPluginList *self)
00068 {
00069 return G_WEB_PLUGIN_LIST_GET_CLASS (self)->get_items (self);
00070 }
00071
00072 gint
00073 g_web_plugin_list_get_items_count (GWebPluginList *self)
00074 {
00075 return G_WEB_PLUGIN_LIST_GET_CLASS (self)->get_items_count (self);
00076 }
00077
00078 const gchar*
00079 g_web_plugin_list_get_item_title (GWebPluginList *self, gint pos)
00080 {
00081 return G_WEB_PLUGIN_LIST_GET_CLASS (self)->get_item_title (self, pos);
00082 }
00083
00084 const gchar*
00085 g_web_plugin_list_get_item_creator (GWebPluginList *self, gint pos)
00086 {
00087 return G_WEB_PLUGIN_LIST_GET_CLASS (self)->get_item_creator (self, pos);
00088 }
00089
00090 const gchar*
00091 g_web_plugin_list_get_item_path (GWebPluginList *self, gint pos)
00092 {
00093 return G_WEB_PLUGIN_LIST_GET_CLASS (self)->get_item_path (self, pos);
00094 }
00095
00096 const gchar*
00097 g_web_plugin_list_get_item_type (GWebPluginList *self, gint pos)
00098 {
00099 return G_WEB_PLUGIN_LIST_GET_CLASS (self)->get_item_type (self, pos);
00100 }