aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-iterator.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-08 00:13:17 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-08 00:13:17 +0800
commitf0c10e106c6d47e4817f118ff94555a15dfbed00 (patch)
tree2019b77f6a141f93609ecbe3d79dabc609da89fa /e-util/e-iterator.h
parentd6fdf08d681d4db1687705e2d19e6c1db1acf5e4 (diff)
downloadgsoc2013-evolution-f0c10e106c6d47e4817f118ff94555a15dfbed00.tar
gsoc2013-evolution-f0c10e106c6d47e4817f118ff94555a15dfbed00.tar.gz
gsoc2013-evolution-f0c10e106c6d47e4817f118ff94555a15dfbed00.tar.bz2
gsoc2013-evolution-f0c10e106c6d47e4817f118ff94555a15dfbed00.tar.lz
gsoc2013-evolution-f0c10e106c6d47e4817f118ff94555a15dfbed00.tar.xz
gsoc2013-evolution-f0c10e106c6d47e4817f118ff94555a15dfbed00.tar.zst
gsoc2013-evolution-f0c10e106c6d47e4817f118ff94555a15dfbed00.zip
Added last and insert functions.
2000-07-07 Christopher James Lahey <clahey@helixcode.com> * e-iterator.c, e-iterator.h, e-list-iterator.c, e-list-iterator.h: Added last and insert functions. svn path=/trunk/; revision=3946
Diffstat (limited to 'e-util/e-iterator.h')
-rw-r--r--e-util/e-iterator.h44
1 files changed, 26 insertions, 18 deletions
diff --git a/e-util/e-iterator.h b/e-util/e-iterator.h
index eb983e9da9..84a2db142b 100644
--- a/e-util/e-iterator.h
+++ b/e-util/e-iterator.h
@@ -31,29 +31,37 @@ struct _EIteratorClass {
GtkObjectClass parent_class;
/* Signals */
- void (*invalidate) (EIterator *iterator);
+ void (*invalidate) (EIterator *iterator);
/* Virtual functions */
- const void * (*get) (EIterator *iterator);
- void (*reset) (EIterator *iterator);
- gboolean (*next) (EIterator *iterator);
- gboolean (*prev) (EIterator *iterator);
- void (*delete) (EIterator *iterator);
- void (*set) (EIterator *iterator,
- const void *object);
- gboolean (*is_valid) (EIterator *iterator);
+ const void * (*get) (EIterator *iterator);
+ void (*reset) (EIterator *iterator);
+ void (*last) (EIterator *iterator);
+ gboolean (*next) (EIterator *iterator);
+ gboolean (*prev) (EIterator *iterator);
+ void (*delete) (EIterator *iterator);
+ void (*insert) (EIterator *iterator,
+ const void *object,
+ gboolean before);
+ void (*set) (EIterator *iterator,
+ const void *object);
+ gboolean (*is_valid) (EIterator *iterator);
};
-const void *e_iterator_get (EIterator *iterator);
-void e_iterator_reset (EIterator *iterator);
-gboolean e_iterator_next (EIterator *iterator);
-gboolean e_iterator_prev (EIterator *iterator);
-void e_iterator_delete (EIterator *iterator);
-void e_iterator_set (EIterator *iterator,
- const void *object);
-gboolean e_iterator_is_valid (EIterator *iterator);
+const void *e_iterator_get (EIterator *iterator);
+void e_iterator_reset (EIterator *iterator);
+void e_iterator_last (EIterator *iterator);
+gboolean e_iterator_next (EIterator *iterator);
+gboolean e_iterator_prev (EIterator *iterator);
+void e_iterator_delete (EIterator *iterator);
+void e_iterator_insert (EIterator *iterator,
+ const void *object,
+ gboolean before);
+void e_iterator_set (EIterator *iterator,
+ const void *object);
+gboolean e_iterator_is_valid (EIterator *iterator);
-void e_iterator_invalidate (EIterator *iterator);
+void e_iterator_invalidate (EIterator *iterator);
/* Standard Gtk function */
GtkType e_iterator_get_type (void);