GnuCash  4.11-11-ge9df8d41d2+
gnc-plugin-account-tree.h
Go to the documentation of this file.
1 /*
2  * gnc-plugin-account-tree.h --
3  *
4  * Copyright (C) 2003 Jan Arne Petersen
5  * Author: Jan Arne Petersen <jpetersen@uni-bonn.de>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of
10  * the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, contact:
19  *
20  * Free Software Foundation Voice: +1-617-542-5942
21  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
22  * Boston, MA 02110-1301, USA gnu@gnu.org
23  */
24 
34 #ifndef __GNC_PLUGIN_ACCOUNT_TREE_H
35 #define __GNC_PLUGIN_ACCOUNT_TREE_H
36 
37 #include <gtk/gtk.h>
38 
39 #include "gnc-plugin.h"
40 
41 G_BEGIN_DECLS
42 
43 /* type macros */
44 #define GNC_TYPE_PLUGIN_ACCOUNT_TREE (gnc_plugin_account_tree_get_type ())
45 #define GNC_PLUGIN_ACCOUNT_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_ACCOUNT_TREE, GncPluginAccountTree))
46 #define GNC_PLUGIN_ACCOUNT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_ACCOUNT_TREE, GncPluginAccountTreeClass))
47 #define GNC_IS_PLUGIN_ACCOUNT_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_ACCOUNT_TREE))
48 #define GNC_IS_PLUGIN_ACCOUNT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_ACCOUNT_TREE))
49 #define GNC_PLUGIN_ACCOUNT_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_ACCOUNT_TREE, GncPluginAccountTreeClass))
50 
51 #define GNC_PLUGIN_ACCOUNT_TREE_NAME "gnc-plugin-account-tree"
52 
53 /* typedefs & structures */
54 
56 typedef struct
57 {
61 
63 typedef struct
64 {
68 
69 
75 
76 
82 
83 G_END_DECLS
84 
85 #endif /* __GNC_PLUGIN_ACCOUNT_TREE_H */
86 
The class data structure for an account tree menu plugin.
GType gnc_plugin_account_tree_get_type(void)
Get the type of the account tree menu plugin.
The class data structure for a menu-only plugin.
Definition: gnc-plugin.h:107
GncPlugin gnc_plugin
The parent object for this widget.
GncPlugin * gnc_plugin_account_tree_new(void)
Create a new account tree menu plugin.
GncPluginClass gnc_plugin
The parent class for this widget.
The instance data structure for a menu-only plugin.
Definition: gnc-plugin.h:100
The instance data structure for an account tree menu plugin.
Functions for adding plugins to a GnuCash window.