Assamese translation updated
[platform/upstream/evolution-data-server.git] / libedataserverui / e-category-completion.h
1 /*
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.
6  *
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.
11  *
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/>
14  *
15  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
16  */
17
18 #if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
19 #error "Only <libedataserverui/libedataserverui.h> should be included directly."
20 #endif
21
22 #ifndef E_CATEGORY_COMPLETION_H
23 #define E_CATEGORY_COMPLETION_H
24
25 #include <gtk/gtk.h>
26
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))
45
46 G_BEGIN_DECLS
47
48 typedef struct _ECategoryCompletion ECategoryCompletion;
49 typedef struct _ECategoryCompletionClass ECategoryCompletionClass;
50 typedef struct _ECategoryCompletionPrivate ECategoryCompletionPrivate;
51
52 /**
53  * ECategoryCompletion:
54  *
55  * Since: 2.26
56  **/
57 struct _ECategoryCompletion {
58         GtkEntryCompletion parent;
59         ECategoryCompletionPrivate *priv;
60 };
61
62 struct _ECategoryCompletionClass {
63         GtkEntryCompletionClass parent_class;
64 };
65
66 GType           e_category_completion_get_type  (void);
67 GtkEntryCompletion *
68                 e_category_completion_new       (void);
69
70 G_END_DECLS
71
72 #endif /* E_CATEGORY_COMPLETION_H */