|
GnuCash 2.4.99
|
00001 /* Copyright (C) 2005 Chris Shoemaker <c.shoemaker@cox.net> 00002 * 00003 * gnc-plugin-page-budget.h -- 00004 * (based on gnc-plugin-page-account-tree.h) 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 00030 #ifndef __GNC_PLUGIN_PAGE_BUDGET_H 00031 #define __GNC_PLUGIN_PAGE_BUDGET_H 00032 00033 #include <gtk/gtk.h> 00034 00035 #include "gnc-plugin-page.h" 00036 #include "gnc-budget.h" 00037 00038 G_BEGIN_DECLS 00039 00040 /* type macros */ 00041 #define GNC_TYPE_PLUGIN_PAGE_BUDGET (gnc_plugin_page_budget_get_type ()) 00042 #define GNC_PLUGIN_PAGE_BUDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_BUDGET, GncPluginPageBudget)) 00043 #define GNC_PLUGIN_PAGE_BUDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_BUDGET, GncPluginPageBudgetClass)) 00044 #define GNC_IS_PLUGIN_PAGE_BUDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_BUDGET)) 00045 #define GNC_IS_PLUGIN_PAGE_BUDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_BUDGET)) 00046 #define GNC_PLUGIN_PAGE_BUDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_BUDGET, GncPluginPageBudgetClass)) 00047 00048 #define GNC_PLUGIN_PAGE_BUDGET_NAME "GncPluginPageBudget" 00049 00050 /* typedefs & structures */ 00051 typedef struct 00052 { 00053 GncPluginPage gnc_plugin_page; 00054 } GncPluginPageBudget; 00055 00056 typedef struct 00057 { 00058 GncPluginPageClass gnc_plugin_page; 00059 } GncPluginPageBudgetClass; 00060 00061 /* function prototypes */ 00062 GType gnc_plugin_page_budget_get_type (void); 00063 00064 00069 GncPluginPage *gnc_plugin_page_budget_new (GncBudget *budget); 00070 00071 void gnc_budget_gui_delete_budget(GncBudget *budget); 00072 00073 G_END_DECLS 00074 00075 #endif /* __GNC_PLUGIN_PAGE_BUDGET_H */ 00076
1.7.4