1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2008 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_VAR_PTR_TYPE__
19 #define __PSPPIRE_VAR_PTR_TYPE__ 1
21 #include <glib-object.h>
25 /* This module registers a type with Glib to hold pointers
26 to a {struct variable}. It also registers some tranformation functions so
27 that variables may be converted to strings and ints.
28 Note that the type is just a pointer. It's the user's responsibility to
29 ensure that it always points to something valid.
31 The intended use of this module is to assist gui code which has to display
32 variables (eg in a GtkTreeView).
37 GType psppire_var_ptr_get_type (void);
39 #define PSPPIRE_VAR_PTR_TYPE (psppire_var_ptr_get_type ())
43 #endif /* __PSPPIRE_VAR_PTR_H__ */