GnuCash c935c2f+
Loading...
Searching...
No Matches
gnc-plugin-budget.h
1/*
2 * gnc-plugin-budget.h --
3 *
4 * Copyright (C) 2005 Chris Shoemaker <c.shoemaker@cox.net>
5 *
6 * Based on gnc-plugin-account.h, by:
7 * Jan Arne Petersen <jpetersen@uni-bonn.de>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, contact:
21 *
22 * Free Software Foundation Voice: +1-617-542-5942
23 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
24 * Boston, MA 02110-1301, USA gnu@gnu.org
25 */
26
27#ifndef __GNC_PLUGIN_BUDGET_H
28#define __GNC_PLUGIN_BUDGET_H
29
30#include <gtk/gtk.h>
31#include "gnc-plugin.h"
32#include "gnc-budget.h"
33
34G_BEGIN_DECLS
35
36/* type macros */
37#define GNC_TYPE_PLUGIN_BUDGET (gnc_plugin_budget_get_type ())
38G_DECLARE_FINAL_TYPE (GncPluginBudget, gnc_plugin_budget, GNC, PLUGIN_BUDGET, GncPlugin)
39
40#define GNC_PLUGIN_BUDGET_NAME "gnc-plugin-budget"
41
42/* function prototypes */
43GncPlugin *gnc_plugin_budget_new (void);
44
45/* Launch the budget list dialog.*/
46GncBudget * gnc_budget_gui_select_budget (GtkWindow *parent, QofBook *book);
47
48
49G_END_DECLS
50
51#endif /* __GNC_PLUGIN_BUDGET_H */
GnuCash Budgets.
Functions for adding plugins to a GnuCash window.
QofBook reference.
Definition qofbook-p.hpp:47