|
GnuCash 2.4.99
|
00001 /* 00002 * gnc-plugin-menu-additions.h -- 00003 * Copyright (C) 2005 David Hampton <hampton@employees.org> 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License as 00007 * published by the Free Software Foundation; either version 2 of 00008 * the License, or (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, contact: 00017 * 00018 * Free Software Foundation Voice: +1-617-542-5942 00019 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 00020 * Boston, MA 02110-1301, USA gnu@gnu.org 00021 */ 00022 00038 #ifndef __GNC_PLUGIN_MENU_ADDITIONS_H 00039 #define __GNC_PLUGIN_MENU_ADDITIONS_H 00040 00041 #include "gnc-plugin.h" 00042 00043 G_BEGIN_DECLS 00044 00045 /* type macros */ 00046 #define GNC_TYPE_PLUGIN_MENU_ADDITIONS (gnc_plugin_menu_additions_get_type ()) 00047 #define GNC_PLUGIN_MENU_ADDITIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_MENU_ADDITIONS, GncPluginMenuAdditions)) 00048 #define GNC_PLUGIN_MENU_ADDITIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_MENU_ADDITIONS, GncPluginMenuAdditionsClass)) 00049 #define GNC_IS_PLUGIN_MENU_ADDITIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_MENU_ADDITIONS)) 00050 #define GNC_IS_PLUGIN_MENU_ADDITIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_MENU_ADDITIONS)) 00051 #define GNC_PLUGIN_MENU_ADDITIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_MENU_ADDITIONS, GncPluginMenuAdditionsClass)) 00052 00053 #define GNC_PLUGIN_MENU_ADDITIONS_NAME "gnc-plugin-menu-additions" 00054 00055 /* typedefs & structures */ 00056 typedef struct 00057 { 00058 GncPlugin gnc_plugin; 00059 } GncPluginMenuAdditions; 00060 00061 typedef struct 00062 { 00063 GncPluginClass gnc_plugin; 00064 } GncPluginMenuAdditionsClass; 00065 00066 /* function prototypes */ 00067 00068 00073 GType gnc_plugin_menu_additions_get_type (void); 00074 00075 00081 GncPlugin *gnc_plugin_menu_additions_new (void); 00082 00083 G_END_DECLS 00084 00085 #endif /* __GNC_PLUGIN_MENU_ADDITIONS_H */ 00086
1.7.4