diff options
author | nobody <nobody@localhost> | 2002-02-11 05:10:16 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2002-02-11 05:10:16 +0800 |
commit | a76b239b5b506db4231e7691a8766a6149dbaa83 (patch) | |
tree | 2c681b46c6ec4a4ab7326e55b588d9758e0dd363 /e-util/e-list.h | |
parent | cfc4826ef837954667ec18d9df72786e73ff1e25 (diff) | |
download | gsoc2013-evolution-BALSA_2_0_2.tar.gz gsoc2013-evolution-BALSA_2_0_2.tar.zst gsoc2013-evolution-BALSA_2_0_2.zip |
This commit was manufactured by cvs2svn to create tag 'BALSA_2_0_2'.BALSA_2_0_2
svn path=/tags/BALSA_2_0_2/; revision=15644
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__ */ |