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 __GWEBTRANSFERITEMLIST_H__ 00027 #define __GWEBTRANSFERITEMLIST_H__ 00028 00029 G_BEGIN_DECLS 00030 00034 #define G_TYPE_WEB_TRANSFER_ITEM_LIST (g_web_transfer_item_get_type ()) 00035 #define G_WEB_TRANSFER_ITEM_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_WEB_TRANSFER_ITEM_LIST, GWebTransferItemList)) 00036 #define G_WEB_TRANSFER_ITEM_LIST_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), G_TYPE_WEB_TRANSFER_ITEM_LIST, GWebTransferItemListIface)) 00037 #define G_IS_WEB_TRANSFER_ITEM_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_WEB_TRANSFER_ITEM_LIST)) 00038 #define G_IS_WEB_TRANSFER_ITEM_LIST_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), G_TYPE_WEB_TRANSFER_ITEM_LIST)) 00039 #define G_WEB_TRANSFER_ITEM_LIST_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_WEB_TRANSFER_ITEM_LIST, GWebTransferItemListIface)) 00040 00041 typedef struct _GWebTransferItemList GWebTransferItemList; /* dummy object */ 00042 typedef struct _GWebTransferItemListIface GWebTransferItemListIface; 00043 00047 struct _GWebTransferItemListIface { 00048 GTypeInterface parent; 00049 00050 void (*destroy) (GWebTransferItemList *self); 00051 GObject** (*get_items) (GWebTransferItemList *self); 00052 gint (*get_items_count) (GWebTransferItemList *self); 00053 }; 00054 00055 GType g_web_transfer_item_list_get_type (void); 00056 00057 void g_web_transfer_item_list_destroy (GWebTransferItemList *self); 00058 GObject** g_web_transfer_item_list_get_items (GWebTransferItemList *self); 00059 gint g_web_transfer_item_list_get_items_count (GWebTransferItemList *self); 00060 00061 G_END_DECLS 00062 00063 #endif /* __GWEBTRANSFERITEMLIST_H__ */