diff options
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-manager.h')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-manager.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-manager.h b/addressbook/gui/component/select-names/e-select-names-manager.h new file mode 100644 index 0000000000..5aba1d3295 --- /dev/null +++ b/addressbook/gui/component/select-names/e-select-names-manager.h @@ -0,0 +1,49 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: + * Chris Lahey <clahey@helixcode.com> + * + * Copyright (C) 2000 Helix Code, Inc. + */ + +#ifndef __E_SELECT_NAMES_MANAGER_H__ +#define __E_SELECT_NAMES_MANAGER_H__ + +#include <time.h> +#include <gtk/gtk.h> +#include <stdio.h> + +#define E_TYPE_SELECT_NAMES_MANAGER (e_select_names_manager_get_type ()) +#define E_SELECT_NAMES_MANAGER(obj) (GTK_CHECK_CAST ((obj), E_TYPE_SELECT_NAMES_MANAGER, ESelectNamesManager)) +#define E_SELECT_NAMES_MANAGER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SELECT_NAMES_MANAGER, ESelectNamesManagerClass)) +#define E_IS_SELECT_NAMES_MANAGER(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_SELECT_NAMES_MANAGER)) +#define E_IS_SELECT_NAMES_MANAGER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_SELECT_NAMES_MANAGER)) + +typedef struct _ESelectNamesManager ESelectNamesManager; +typedef struct _ESelectNamesManagerClass ESelectNamesManagerClass; + +struct _ESelectNamesManager { + GtkObject object; + +}; + +struct _ESelectNamesManagerClass { + GtkObjectClass parent_class; +}; + +ESelectNamesManager *e_select_names_manager_new (void); +void e_select_names_add_section (ESelectNamesManager *manager, + char *id); +GtkWidget *e_select_names_create_entry (ESelectNamesManager *manager, + char *id); +void e_select_names_activate_dialog (ESelectNamesManager *manager, + char *id); + +/* Of type ECard */ +ECardList *e_select_names_get_cards (ESelectNamesManager *manager, + char *id); + +/* Standard Gtk function */ +GtkType e_select_names_manager_get_type (void); + +#endif /* ! __E_SELECT_NAMES_MANAGER_H__ */ |