Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / libedataserverui / e-categories-dialog.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* 
3  * Copyright (C) 2005 Novell, Inc.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of version 2 of the GNU Lesser General Public
7  * License as published by the Free Software Foundation.
8  *
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  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19
20 #ifndef __E_CATEGORIES_DIALOG__
21 #define __E_CATEGORIES_DIALOG__
22
23 #include <gtk/gtkdialog.h>
24
25 G_BEGIN_DECLS
26
27 #define E_TYPE_CATEGORIES_DIALOG            (e_categories_dialog_get_type ())
28 #define E_CATEGORIES_DIALOG(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CATEGORIES_DIALOG, ECategoriesDialog))
29 #define E_CATEGORIES_DIALOG_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_CATEGORIES_DIALOG, ECategoriesDialogClass))
30 #define E_IS_CATEGORIES_DIALOG(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_CATEGORIES_DIALOG))
31 #define E_IS_CATEGORIES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_CATEGORIES_DIALOG))
32
33 typedef struct _ECategoriesDialog        ECategoriesDialog;
34 typedef struct _ECategoriesDialogPrivate ECategoriesDialogPrivate;
35 typedef struct _ECategoriesDialogClass   ECategoriesDialogClass;
36
37 struct _ECategoriesDialog {
38         GtkDialog parent;
39         ECategoriesDialogPrivate *priv;
40 };
41
42 struct _ECategoriesDialogClass {
43         GtkDialogClass parent_class;
44 };
45
46 GType       e_categories_dialog_get_type (void);
47
48 GtkWidget  *e_categories_dialog_new (const char *initial_category_list);
49 const char *e_categories_dialog_get_categories (ECategoriesDialog *dialog);
50 void        e_categories_dialog_set_categories (ECategoriesDialog *dialog, const char *categories);
51
52 G_END_DECLS
53
54 #endif