GnuCash c935c2f+
Loading...
Searching...
No Matches
gnc-tree-model.h
Go to the documentation of this file.
1/*
2 * gnc-tree-model.h -- base implementation for a tree model in
3 * Gnucash. This only implements the object, not
4 * the model interface.
5 *
6 * Copyright (C) 2005 David Hampton <hampton@employees.org>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, contact:
20 *
21 * Free Software Foundation Voice: +1-617-542-5942
22 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
23 * Boston, MA 02110-1301, USA gnu@gnu.org
24 */
25
35#ifndef __GNC_TREE_MODEL_H
36#define __GNC_TREE_MODEL_H
37
38#include <gtk/gtk.h>
39
40G_BEGIN_DECLS
41
42/* type macros */
43#define GNC_TYPE_TREE_MODEL (gnc_tree_model_get_type ())
44G_DECLARE_DERIVABLE_TYPE (GncTreeModel, gnc_tree_model, GNC, TREE_MODEL, GObject)
45
46#define GNC_TREE_MODEL_NAME "GncTreeModel"
47
48/* typedefs & structures */
49
52{
53 GObjectClass g_object;
54};
55
56G_END_DECLS
57
58#endif /* __GNC_TREE_MODEL_H */
59
The class data structure for a generic tree model.
GObjectClass g_object
The parent object data.