aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names-model.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-06 14:18:47 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-06 14:18:47 +0800
commit19848dbc6d5c085289af80975e53395443d41ee2 (patch)
tree051f68510fdce778cc2499af21f53f02d282e599 /addressbook/gui/component/select-names/e-select-names-model.h
parentaf494c55837bf4d88c421ce6ce3f8378727998c7 (diff)
downloadgsoc2013-evolution-19848dbc6d5c085289af80975e53395443d41ee2.tar.gz
gsoc2013-evolution-19848dbc6d5c085289af80975e53395443d41ee2.tar.zst
gsoc2013-evolution-19848dbc6d5c085289af80975e53395443d41ee2.zip
Changed "FIXME: Save and Close" to "Save and Close". Removed some toolbar
2000-07-06 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Changed "FIXME: Save and Close" to "Save and Close". Removed some toolbar items that will never be used. * gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-model.h: Added functions to allow you to modify the model (not implemented yet.) * gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h: Finished this. Doesn't support changing the model at all. * gui/component/select-names/e-select-names-text-model.c: Finished this. Changing the model by typing is done, but doesn't work since none of the functions in the base model are implemented. svn path=/trunk/; revision=3918
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-model.h')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-model.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-model.h b/addressbook/gui/component/select-names/e-select-names-model.h
index 20c90818f7..313b4dee25 100644
--- a/addressbook/gui/component/select-names/e-select-names-model.h
+++ b/addressbook/gui/component/select-names/e-select-names-model.h
@@ -55,6 +55,32 @@ struct _ESelectNamesModelClass {
ESelectNamesModel *e_select_names_model_new (void);
+/* These lengths are allowed to go over objects and act just like the text model does. */
+void e_select_names_model_insert (ESelectNamesModel *model,
+ EIterator *iterator, /* Must be one of the iterators in the model. */
+ int index,
+ char *data);
+void e_select_names_model_insert_length (ESelectNamesModel *model,
+ EIterator *iterator, /* Must be one of the iterators in the model. */
+ int index,
+ char *data,
+ int length);
+void e_select_names_model_delete (ESelectNamesModel *model,
+ EIterator *iterator, /* Must be one of the iterators in the model. */
+ int index,
+ int length);
+void e_select_names_model_replace (ESelectNamesModel *model,
+ EIterator *iterator, /* Must be one of the iterators in the model. */
+ int index,
+ int replacement_length,
+ char *data);
+
+void e_select_names_model_add_item (ESelectNamesModel *model,
+ EIterator *iterator, /* NULL for at the beginning. */
+ ESelectNamesModelData *data);
+void e_select_names_model_remove_item (ESelectNamesModel *model,
+ EIterator *iterator);
+
/* Of type ECard */
EList *e_select_names_model_get_cards (ESelectNamesModel *model);