From 19848dbc6d5c085289af80975e53395443d41ee2 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 6 Jul 2000 06:18:47 +0000 Subject: Changed "FIXME: Save and Close" to "Save and Close". Removed some toolbar 2000-07-06 Christopher James Lahey * 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 --- .../component/select-names/e-select-names-model.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'addressbook/gui/component/select-names/e-select-names-model.h') 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); -- cgit v1.2.3