GnuCash 2.4.99
gnc-plugin-basic-commands.h
Go to the documentation of this file.
00001 /*
00002  * gnc-plugin-basic-commands.h --
00003  *
00004  * Copyright (C) 2005 David Hampton <hampton@employees.org>
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License as
00008  * published by the Free Software Foundation; either version 2 of
00009  * the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, contact:
00018  *
00019  * Free Software Foundation           Voice:  +1-617-542-5942
00020  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
00021  * Boston, MA  02110-1301,  USA       gnu@gnu.org
00022  */
00023 
00033 #ifndef __GNC_PLUGIN_BASIC_COMMANDS_H
00034 #define __GNC_PLUGIN_BASIC_COMMANDS_H
00035 
00036 #include <gtk/gtk.h>
00037 
00038 #include "gnc-plugin.h"
00039 
00040 G_BEGIN_DECLS
00041 
00042 /* type macros */
00043 #define GNC_TYPE_PLUGIN_BASIC_COMMANDS            (gnc_plugin_basic_commands_get_type ())
00044 #define GNC_PLUGIN_BASIC_COMMANDS(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommands))
00045 #define GNC_PLUGIN_BASIC_COMMANDS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommandsClass))
00046 #define GNC_IS_PLUGIN_BASIC_COMMANDS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS))
00047 #define GNC_IS_PLUGIN_BASIC_COMMANDS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_BASIC_COMMANDS))
00048 #define GNC_PLUGIN_BASIC_COMMANDS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_BASIC_COMMANDS, GncPluginBasicCommandsClass))
00049 
00050 #define GNC_PLUGIN_BASIC_COMMANDS_NAME "gnc-plugin-basic-commands"
00051 
00052 /* typedefs & structures */
00053 
00055 typedef struct
00056 {
00058     GncPlugin gnc_plugin;
00059 } GncPluginBasicCommands;
00060 
00061 
00063 typedef struct
00064 {
00066     GncPluginClass gnc_plugin;
00067 } GncPluginBasicCommandsClass;
00068 
00069 
00074 GType gnc_plugin_basic_commands_get_type (void);
00075 
00076 
00081 GncPlugin *gnc_plugin_basic_commands_new (void);
00082 
00083 G_END_DECLS
00084 
00085 #endif /* __GNC_PLUGIN_BASIC_COMMANDS_H */
00086 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines