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 <glib-object.h>
00025
00026 #ifndef __GWEBPLUGINLIST_H__
00027 #define __GWEBPLUGINLIST_H__
00028
00029 G_BEGIN_DECLS
00030
00034 #define G_TYPE_WEB_PLUGIN_LIST (g_web_plugin_list_get_type ())
00035 #define G_WEB_PLUGIN_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_WEB_PLUGIN_LIST, GWebPluginList))
00036 #define G_WEB_PLUGIN_LIST_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), G_TYPE_WEB_PLUGIN_LIST, GWebPluginListIface))
00037 #define G_IS_WEB_PLUGIN_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_WEB_PLUGIN_LIST))
00038 #define G_IS_WEB_PLUGIN_LIST_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), G_TYPE_WEB_PLUGIN_LIST))
00039 #define G_WEB_PLUGIN_LIST_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_WEB_PLUGIN_LIST, GWebPluginListIface))
00040
00041 typedef struct _GWebPluginList GWebPluginList;
00042 typedef struct _GWebPluginListIface GWebPluginListIface;
00043
00047 struct _GWebPluginListIface {
00048 GTypeInterface parent;
00049
00050 void (*destroy) (GWebPluginList *self);
00051 GObject* (*get_items) (GWebPluginList *self);
00052 gint (*get_items_count) (GWebPluginList *self);
00053 const gchar* (*get_item_title) (GWebPluginList *self, gint pos);
00054 const gchar* (*get_item_creator) (GWebPluginList *self, gint pos);
00055 const gchar* (*get_item_path) (GWebPluginList *self, gint pos);
00056 const gchar* (*get_item_type) (GWebPluginList *self, gint pos);
00057 };
00058
00059 GType g_web_plugin_list_get_type (void);
00060
00061 void g_web_plugin_list_destroy (GWebPluginList *self);
00062 GObject* g_web_plugin_list_get_items (GWebPluginList *self);
00063 gint g_web_plugin_list_get_items_count (GWebPluginList *self);
00064 const gchar* g_web_plugin_list_get_item_title (GWebPluginList *self, gint pos);
00065 const gchar* g_web_plugin_list_get_item_creator (GWebPluginList *self, gint pos);
00066 const gchar* g_web_plugin_list_get_item_path (GWebPluginList *self, gint pos);
00067 const gchar* g_web_plugin_list_get_item_type (GWebPluginList *self, gint pos);
00068
00069 G_END_DECLS
00070
00071 #endif