GnuCash  4.12-68-g5dc52459a1+
gnc-plugin-basic-commands.h
Go to the documentation of this file.
1 /*
2  * gnc-plugin-basic-commands.h --
3  *
4  * Copyright (C) 2005 David Hampton <hampton@employees.org>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, contact:
18  *
19  * Free Software Foundation Voice: +1-617-542-5942
20  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
21  * Boston, MA 02110-1301, USA gnu@gnu.org
22  */
23 
33 #ifndef __GNC_PLUGIN_BASIC_COMMANDS_H
34 #define __GNC_PLUGIN_BASIC_COMMANDS_H
35 
36 #include <gtk/gtk.h>
37 
38 #include "gnc-plugin.h"
39 
40 G_BEGIN_DECLS
41 
42 /* type macros */
43 #define GNC_TYPE_PLUGIN_BASIC_COMMANDS (gnc_plugin_basic_commands_get_type ())
44 #define GNC_PLUGIN_BASIC_COMMANDS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommands))
45 #define GNC_PLUGIN_BASIC_COMMANDS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommandsClass))
46 #define GNC_IS_PLUGIN_BASIC_COMMANDS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS))
47 #define GNC_IS_PLUGIN_BASIC_COMMANDS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_BASIC_COMMANDS))
48 #define GNC_PLUGIN_BASIC_COMMANDS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommandsClass))
49 
50 #define GNC_PLUGIN_BASIC_COMMANDS_NAME "gnc-plugin-basic-commands"
51 
52 /* typedefs & structures */
53 
55 typedef struct
56 {
60 
61 
63 typedef struct
64 {
68 
69 
75 
76 
82 
83 G_END_DECLS
84 
85 #endif /* __GNC_PLUGIN_BASIC_COMMANDS_H */
86 
The instance data structure for an basic commands menu plugin.
The class data structure for a menu-only plugin.
Definition: gnc-plugin.h:107
GType gnc_plugin_basic_commands_get_type(void)
Get the type of the basic commands menu plugin.
The class data structure for a basic commands menu plugin.
GncPlugin gnc_plugin
The parent object for this widget.
GncPlugin * gnc_plugin_basic_commands_new(void)
Create a new basic commands 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
Functions for adding plugins to a GnuCash window.