Add doc files to dist and fix version number in NEWS.
[mmediamanager.git] / libmmanager-gtk / mm-gtk-filter-builder.h
blobdd2405144ecd2fd235f2050583308c69fa63af07
1 /* MManager - a Desktop wide manager for multimedia applications.
3 * Copyright (C) 2008 Cosimo Cecchi <cosimoc@gnome.org>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __MM_GTK_FILTER_BUILDER__
22 #define __MM_GTK_FILTER_BUILDER__
24 #include <glib-object.h>
25 #include <gtk/gtk.h>
27 #include "libmmanager/mm-category.h"
29 #define MM_GTK_TYPE_FILTER_BUILDER mm_gtk_filter_builder_get_type()
30 #define MM_GTK_FILTER_BUILDER(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_GTK_TYPE_FILTER_BUILDER, MMGtkFilterBuilder))
32 #define MM_GTK_FILTER_BUILDER_CLASS(klass) \
33 (G_TYPE_CHECK_CLASS_CAST ((klass), MM_GTK_TYPE_FILTER_BUILDER, MMGtkFilterBuilderClass))
34 #define MM_GTK_IS_FILTER_BUILDER(obj) \
35 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_GTK_TYPE_FILTER_BUILDER))
36 #define MM_GTK_IS_FILTER_BUILDER_CLASS(klass) \
37 (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_GTK_TYPE_FILTER_BUILDER))
38 #define MM_GTK_FILTER_BUILDER_GET_CLASS(obj) \
39 (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_GTK_TYPE_FILTER_BUILDER, MMGtkFilterBuilderClass))
41 /**
42 * SECTION:mm-gtk-filter-builder
43 * @short_description: widget to build #MMFilter<!-- -->s.
45 * #MMGtkFilterBuilder is a #GtkWidget that allow you to build #MMFilter objects
46 * graphically. You need a #MMCategory to build it.
49 /**
50 * MMGtkFilterBuilder:
52 * A #GtkWidget that allows the user to build custom #MMFilter<!-- -->s.
55 typedef struct _MMGtkFilterBuilder MMGtkFilterBuilder;
56 typedef struct _MMGtkFilterBuilderClass MMGtkFilterBuilderClass;
57 typedef struct _MMGtkFilterBuilderPrivate MMGtkFilterBuilderPrivate;
59 struct _MMGtkFilterBuilder {
60 GtkVBox parent;
61 MMGtkFilterBuilderPrivate *details;
64 struct _MMGtkFilterBuilderClass {
65 GtkVBoxClass parent_class;
68 GType mm_gtk_filter_builder_get_type (void);
69 MMGtkFilterBuilder* mm_gtk_filter_builder_new (MMCategory *category);
70 MMFilter* mm_gtk_filter_builder_get_filter (MMGtkFilterBuilder *self);
72 #endif /* __MM_GTK_FILTER_BUILDER__ */