browser-eal/include/gwebpluginlist.h

Go to the documentation of this file.
00001 /* ***** BEGIN LICENSE BLOCK *****
00002  * Version: MPL 1.1
00003  *
00004  * The contents of this file are subject to the Mozilla Public License Version
00005  * 1.1 (the "License"); you may not use this file except in compliance with
00006  * the License. You may obtain a copy of the License at
00007  * http://www.mozilla.org/MPL/
00008  *
00009  * Software distributed under the License is distributed on an "AS IS" basis,
00010  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00011  * for the specific language governing rights and limitations under the
00012  * License.
00013  *
00014  * The Original Code is the EAL package.
00015  *
00016  * The Initial Developer of the Original Code is Nokia Corporation.
00017  * Portions created by the Initial Developer are Copyright (C) 2005
00018  * the Initial Developer. All Rights Reserved.
00019  *
00020  * Contact: Leonid Zolotarev <leonid.zolotarev@nokia.com>
00021  *
00022  * ***** END LICENSE BLOCK ***** */
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; /* dummy object */
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 /* __GWEBPLUGINLIST_H__ */

Generated on Tue Sep 25 10:37:04 2007 for browser-eal by  doxygen 1.5.1