1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
19 #error "Only <e-util/e-util.h> should be included directly."
22 #ifndef E_CATEGORIES_DIALOG_H
23 #define E_CATEGORIES_DIALOG_H
27 /* Standard GObject macros */
28 #define E_TYPE_CATEGORIES_DIALOG \
29 (e_categories_dialog_get_type ())
30 #define E_CATEGORIES_DIALOG(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST \
32 ((obj), E_TYPE_CATEGORIES_DIALOG, ECategoriesDialog))
33 #define E_CATEGORIES_DIALOG_CLASS(cls) \
34 (G_TYPE_CHECK_CLASS_CAST \
35 ((cls), E_TYPE_CATEGORIES_DIALOG, ECategoriesDialogClass))
36 #define E_IS_CATEGORIES_DIALOG(obj) \
37 (G_TYPE_CHECK_INSTANCE_TYPE \
38 ((obj), E_TYPE_CATEGORIES_DIALOG))
39 #define E_IS_CATEGORIES_DIALOG_CLASS(cls) \
40 (G_TYPE_CHECK_CLASS_TYPE \
41 ((cls), E_TYPE_CATEGORIES_DIALOG))
42 #define E_CATEGORIES_DIALOG_GET_CLASS(obj) \
43 (G_TYPE_INSTANCE_GET_CLASS \
44 ((obj), E_TYPE_CATEGORIES_DIALOG, ECategoriesDialogClass))
48 typedef struct _ECategoriesDialog ECategoriesDialog
;
49 typedef struct _ECategoriesDialogClass ECategoriesDialogClass
;
50 typedef struct _ECategoriesDialogPrivate ECategoriesDialogPrivate
;
52 struct _ECategoriesDialog
{
54 ECategoriesDialogPrivate
*priv
;
57 struct _ECategoriesDialogClass
{
58 GtkDialogClass parent_class
;
61 GType
e_categories_dialog_get_type (void) G_GNUC_CONST
;
62 GtkWidget
* e_categories_dialog_new (const gchar
*categories
);
63 gchar
* e_categories_dialog_get_categories
64 (ECategoriesDialog
*dialog
);
65 void e_categories_dialog_set_categories
66 (ECategoriesDialog
*dialog
,
67 const gchar
*categories
);
71 #endif /* E_CATEGORIES_DIALOG_H */