1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2009 Free Software Foundation
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
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
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef __PSPPIRE_SELECT_DEST_H__
19 #define __PSPPIRE_SELECT_DEST_H__
21 #include <glib-object.h>
23 GType psppire_select_dest_widget_get_type (void) G_GNUC_CONST;
25 #define PSPPIRE_TYPE_SELECT_DEST_WIDGET (psppire_select_dest_widget_get_type ())
26 #define PSPPIRE_SELECT_DEST_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSPPIRE_TYPE_SELECT_DEST_WIDGET, PsppireSelectDestWidget))
27 #define PSPPIRE_IS_SELECT_DEST_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_TYPE_SELECT_DEST_WIDGET))
30 #define PSPPIRE_SELECT_DEST_GET_IFACE(obj) \
31 (G_TYPE_INSTANCE_GET_INTERFACE ((obj), PSPPIRE_TYPE_SELECT_DEST_WIDGET, PsppireSelectDestWidgetIface))
33 typedef struct _PsppireSelectDestWidgetIface PsppireSelectDestWidgetIface;
36 typedef struct _PsppireSelectDestWidget PsppireSelectDestWidget; /* Dummy typedef */
38 struct _PsppireSelectDestWidgetIface
40 GTypeInterface g_iface;
42 /* Return TRUE iff DEST contains V */
43 gboolean (*contains_var) (PsppireSelectDestWidget *dest, const GValue *v);
47 gboolean psppire_select_dest_widget_contains_var (PsppireSelectDestWidget *m, const GValue *v);