diff options
author | nobody <nobody@localhost> | 2001-10-25 06:17:05 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-10-25 06:17:05 +0800 |
commit | d926a5044cc190b0e6f3b53d7be13096a79990c8 (patch) | |
tree | 75a31cb1cb19b4266322f9427b0641c1b53aca24 /e-util/e-list.h | |
parent | dcc99c020b6a58e174091b32585159edfae18dd4 (diff) | |
download | gsoc2013-evolution-GNOME_2.tar gsoc2013-evolution-GNOME_2.tar.gz gsoc2013-evolution-GNOME_2.tar.bz2 gsoc2013-evolution-GNOME_2.tar.lz gsoc2013-evolution-GNOME_2.tar.xz gsoc2013-evolution-GNOME_2.tar.zst gsoc2013-evolution-GNOME_2.zip |
This commit was manufactured by cvs2svn to create tag 'GNOME_2'.GNOME_2
svn path=/tags/GNOME_2/; revision=14021
Diffstat (limited to 'e-util/e-list.h')
-rw-r--r-- | e-util/e-list.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/e-util/e-list.h b/e-util/e-list.h deleted file mode 100644 index da63576996..0000000000 --- a/e-util/e-list.h +++ /dev/null @@ -1,63 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * Authors: - * Chris Lahey <clahey@ximian.com> - * - * Copyright (C) 2000 Ximian, Inc. - * Copyright (C) 1999 The Free Software Foundation - */ - -#ifndef __E_LIST_H__ -#define __E_LIST_H__ - -typedef struct _EList EList; -typedef struct _EListClass EListClass; - -#include <stdio.h> -#include <time.h> -#include <gtk/gtkobject.h> -#include <e-util/e-list-iterator.h> - -#define E_TYPE_LIST (e_list_get_type ()) -#define E_LIST(obj) (GTK_CHECK_CAST ((obj), E_TYPE_LIST, EList)) -#define E_LIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_LIST, EListClass)) -#define E_IS_LIST(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_LIST)) -#define E_IS_LIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_LIST)) - -typedef void *(*EListCopyFunc) (const void *data, void *closure); -typedef void (*EListFreeFunc) (void *data, void *closure); - -struct _EList { - GtkObject object; - GList *list; - GList *iterators; - EListCopyFunc copy; - EListFreeFunc free; - void *closure; -}; - -struct _EListClass { - GtkObjectClass parent_class; -}; - -EList *e_list_new (EListCopyFunc copy, - EListFreeFunc free, - void *closure); -EList *e_list_duplicate (EList *list); -EIterator *e_list_get_iterator (EList *list); -void e_list_append (EList *list, - const void *data); -int e_list_length (EList *list); - -/* For iterators to call. */ -void e_list_remove_link (EList *list, - GList *link); -void e_list_remove_iterator (EList *list, - EIterator *iterator); -void e_list_invalidate_iterators (EList *list, - EIterator *skip); - -/* Standard Gtk function */ -GtkType e_list_get_type (void); - -#endif /* ! __E_LIST_H__ */ |