browser-eal/src/gwebtransferitemlist.c

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 "gwebtransferitemlist.h"
00025 
00026 static void
00027 g_web_transfer_item_list_base_init (gpointer g_class)
00028 {
00029         static gboolean initialized = FALSE;
00030 
00031         if (!initialized) {
00032                 /* create interface signals here. */
00033                 initialized = TRUE;
00034         }
00035 }
00036 
00037 GType
00038 g_web_transfer_item_list_get_type (void)
00039 {
00040     static GType type = 0;
00041     if (type == 0) {
00042         static const GTypeInfo info = {
00043             sizeof (GWebTransferItemListIface),
00044             g_web_transfer_item_list_base_init,   /* base_init */
00045             NULL,   /* base_finalize */
00046             NULL,   /* class_init */
00047             NULL,   /* class_finalize */
00048             NULL,   /* class_data */
00049             0,
00050             0,      /* n_preallocs */
00051             NULL    /* instance_init */
00052         };
00053         type = g_type_register_static (G_TYPE_INTERFACE, "GWebTransferItemList", &info, 0);
00054     }
00055     return type;
00056 }
00057 
00058 void
00059 g_web_transfer_item_list_destroy (GWebTransferItemList *self)
00060 {
00061         G_WEB_TRANSFER_ITEM_LIST_GET_CLASS (self)->destroy (self);
00062 }
00063 
00064 GObject**
00065 g_web_transfer_item_list_get_items (GWebTransferItemList *self)
00066 {
00067         return G_WEB_TRANSFER_ITEM_LIST_GET_CLASS (self)->get_items (self);
00068 }
00069 
00070 gint
00071 g_web_transfer_item_list_get_items_count (GWebTransferItemList *self)
00072 {
00073         return G_WEB_TRANSFER_ITEM_LIST_GET_CLASS (self)->get_items_count (self);
00074 }

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