2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2 of the License, or (at your option) version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with the program; if not, see <http://www.gnu.org/licenses/>
15 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
18 #if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
19 #error "Only <libedataserverui/libedataserverui.h> should be included directly."
22 #ifndef E_CATEGORY_COMPLETION_H
23 #define E_CATEGORY_COMPLETION_H
27 /* Standard GObject macros */
28 #define E_TYPE_CATEGORY_COMPLETION \
29 (e_category_completion_get_type ())
30 #define E_CATEGORY_COMPLETION(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST \
32 ((obj), E_TYPE_CATEGORY_COMPLETION, ECategoryCompletion))
33 #define E_CATEGORY_COMPLETION_CLASS(cls) \
34 (G_TYPE_CHECK_CLASS_CAST \
35 ((cls), E_TYPE_CATEGORY_COMPLETION, ECategoryCompletionClass))
36 #define E_IS_CATEGORY_COMPLETION(obj) \
37 (G_TYPE_CHECK_INSTANCE_TYPE \
38 ((obj), E_TYPE_CATEGORY_COMPLETION))
39 #define E_IS_CATEGORY_COMPLETION_CLASS(cls) \
40 (G_TYPE_CHECK_CLASS_TYPE \
41 ((cls), E_TYPE_CATEGORY_COMPLETION))
42 #define E_CATEGORY_COMPLETION_GET_CLASS(obj) \
43 (G_TYPE_INSTANCE_GET_CLASS \
44 ((obj), E_TYPE_CATEGORY_COMPLETION, ECategoryCompletionClass))
48 typedef struct _ECategoryCompletion ECategoryCompletion;
49 typedef struct _ECategoryCompletionClass ECategoryCompletionClass;
50 typedef struct _ECategoryCompletionPrivate ECategoryCompletionPrivate;
53 * ECategoryCompletion:
57 struct _ECategoryCompletion {
58 GtkEntryCompletion parent;
59 ECategoryCompletionPrivate *priv;
62 struct _ECategoryCompletionClass {
63 GtkEntryCompletionClass parent_class;
66 GType e_category_completion_get_type (void);
68 e_category_completion_new (void);
72 #endif /* E_CATEGORY_COMPLETION_H */