1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 /* e-name-selector-list.h - Single-line text entry widget for EDestinations.
5 * Copyright (C) 2004 Novell, Inc.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of version 2 of the GNU General Public
9 * License as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
21 * Authors: Srinivasa Ragavan <sragavan@novell.com>
24 #ifndef E_NAME_SELECTOR_LIST_H
25 #define E_NAME_SELECTOR_LIST_H
27 #include <gtk/gtkentry.h>
28 #include <gtk/gtkwindow.h>
29 #include <libebook/e-contact.h>
30 #include <libedataserverui/e-contact-store.h>
31 #include <libedataserverui/e-destination-store.h>
32 #include <libedataserverui/e-tree-model-generator.h>
33 #include <libedataserverui/e-name-selector-entry.h>
37 #define E_TYPE_NAME_SELECTOR_LIST (e_name_selector_list_get_type ())
38 #define E_NAME_SELECTOR_LIST(obj) (GTK_CHECK_CAST ((obj), e_name_selector_list_get_type (), ENameSelectorEntry))
39 #define E_NAME_SELECTOR_LIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), e_name_selector_list_get_type (), ENameSelectorEntryClass))
40 #define E_IS_NAME_SELECTOR_LIST(obj) (GTK_CHECK_TYPE (obj, e_name_selector_list_get_type ()))
41 #define E_IS_NAME_SELECTOR_LIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), e_name_selector_list_get_type ()))
42 #define E_NAME_SELECTOR_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_NAME_SELECTOR_LIST_TYPE, ENameSelectorEntryClass))
44 typedef struct _ENameSelectorList ENameSelectorList;
45 typedef struct _ENameSelectorListClass ENameSelectorListClass;
47 struct _ENameSelectorListClass {
48 ENameSelectorEntryClass parent_class;
53 struct _ENameSelectorList {
54 ENameSelectorEntry parent;
59 EDestinationStore *store;
63 GType e_name_selector_list_get_type (void);
64 ENameSelectorList *e_name_selector_list_new (void);
65 void e_name_selector_list_expand_clicked (ENameSelectorList *list);