2 * Single-line text entry widget for EDestinations.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) version 3.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with the program; if not, see <http://www.gnu.org/licenses/>
19 * Srinivasa Ragavan <sragavan@novell.com>
21 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
25 #if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
26 #error "Only <libedataserverui/libedataserverui.h> should be included directly."
29 #ifndef E_NAME_SELECTOR_LIST_H
30 #define E_NAME_SELECTOR_LIST_H
33 #include <libebook/libebook.h>
35 #include <libedataserverui/e-contact-store.h>
36 #include <libedataserverui/e-destination-store.h>
37 #include <libedataserverui/e-tree-model-generator.h>
38 #include <libedataserverui/e-name-selector-entry.h>
40 /* Standard GObject macros */
41 #define E_TYPE_NAME_SELECTOR_LIST \
42 (e_name_selector_list_get_type ())
43 #define E_NAME_SELECTOR_LIST(obj) \
44 (G_TYPE_CHECK_INSTANCE_CAST \
45 ((obj), E_TYPE_NAME_SELECTOR_LIST, ENameSelectorList))
46 #define E_NAME_SELECTOR_LIST_CLASS(cls) \
47 (G_TYPE_CHECK_CLASS_CAST \
48 ((cls), E_TYPE_NAME_SELECTOR_LIST, ENameSelectorListClass))
49 #define E_IS_NAME_SELECTOR_LIST(obj) \
50 (G_TYPE_CHECK_INSTANCE_TYPE \
51 ((obj), E_TYPE_NAME_SELECTOR_LIST))
52 #define E_IS_NAME_SELECTOR_LIST_CLASS(cls) \
53 (G_TYPE_CHECK_CLASS_TYPE \
54 ((cls), E_TYPE_NAME_SELECTOR_LIST))
55 #define E_NAME_SELECTOR_LIST_GET_CLASS(obj) \
56 (G_TYPE_INSTANCE_GET_CLASS \
57 ((obj), E_TYPE_NAME_SELECTOR_LIST, ENameSelectorListClass))
61 typedef struct _ENameSelectorList ENameSelectorList;
62 typedef struct _ENameSelectorListClass ENameSelectorListClass;
63 typedef struct _ENameSelectorListPrivate ENameSelectorListPrivate;
65 struct _ENameSelectorList {
66 ENameSelectorEntry parent;
67 ENameSelectorListPrivate *priv;
70 struct _ENameSelectorListClass {
71 ENameSelectorEntryClass parent_class;
74 GType e_name_selector_list_get_type (void);
76 e_name_selector_list_new (ESourceRegistry *registry);
77 void e_name_selector_list_expand_clicked
78 (ENameSelectorList *list);
82 #endif /* E_NAME_SELECTOR_LIST_H */