GnuCash
2.6.99
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
business
business-gnome
gnc-plugin-page-invoice.h
Go to the documentation of this file.
1
/*
2
* gnc-plugin-page-invoice.h --
3
*
4
* Copyright (C) 2005,2006 David Hampton <
[email protected]
>
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
[email protected]
22
*/
23
33
#ifndef __GNC_PLUGIN_PAGE_INVOICE_H
34
#define __GNC_PLUGIN_PAGE_INVOICE_H
35
36
#include <gtk/gtk.h>
37
38
#include "
Account.h
"
39
#include "
gnc-plugin-page.h
"
40
#include "dialog-invoice.h"
/* for InvoiceWindow */
41
42
G_BEGIN_DECLS
43
44
/* type macros */
45
#define GNC_TYPE_PLUGIN_PAGE_INVOICE (gnc_plugin_page_invoice_get_type ())
46
#define GNC_PLUGIN_PAGE_INVOICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_INVOICE, GncPluginPageInvoice))
47
#define GNC_PLUGIN_PAGE_INVOICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_INVOICE, GncPluginPageInvoiceClass))
48
#define GNC_IS_PLUGIN_PAGE_INVOICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_INVOICE))
49
#define GNC_IS_PLUGIN_PAGE_INVOICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_INVOICE))
50
#define GNC_PLUGIN_PAGE_INVOICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_INVOICE, GncPluginPageInvoiceClass))
51
52
#define GNC_PLUGIN_PAGE_INVOICE_NAME "GncPluginPageInvoice"
53
54
/* typedefs & structures */
55
typedef
struct
56
{
57
GncPluginPage
gnc_plugin_page;
58
}
GncPluginPageInvoice
;
59
60
typedef
struct
61
{
62
GncPluginPageClass
gnc_plugin_page;
63
}
GncPluginPageInvoiceClass
;
64
65
/* function prototypes */
66
71
GType
gnc_plugin_page_invoice_get_type
(
void
);
72
73
83
GncPluginPage
*
gnc_plugin_page_invoice_new
(
InvoiceWindow
*iw);
84
85
96
void
gnc_plugin_page_invoice_update_menus
(
GncPluginPage
*page, gboolean is_posted, gboolean can_unpost);
97
98
104
void
gnc_plugin_page_invoice_update_title
(
GncPluginPage
*page);
105
106
G_END_DECLS
110
#endif
/* __GNC_PLUGIN_PAGE_INVOICE_H */
111
gnc_plugin_page_invoice_get_type
GType gnc_plugin_page_invoice_get_type(void)
Definition:
gnc-plugin-page-invoice.c:294
GncPluginPage
Definition:
gnc-plugin-page.h:58
gnc_plugin_page_invoice_update_menus
void gnc_plugin_page_invoice_update_menus(GncPluginPage *page, gboolean is_posted, gboolean can_unpost)
Definition:
gnc-plugin-page-invoice.c:419
Account.h
Account handling public routines.
GncPluginPageClass
Definition:
gnc-plugin-page.h:80
gnc_plugin_page_invoice_new
GncPluginPage * gnc_plugin_page_invoice_new(InvoiceWindow *iw)
Definition:
gnc-plugin-page-invoice.c:322
gnc-plugin-page.h
Functions for adding plugins to a GnuCash window.
GncPluginPageInvoiceClass
Definition:
gnc-plugin-page-invoice.h:60
_invoice_window
Definition:
dialog-invoice.c:128
GncPluginPageInvoice
Definition:
gnc-plugin-page-invoice.h:55
gnc_plugin_page_invoice_update_title
void gnc_plugin_page_invoice_update_title(GncPluginPage *page)
Definition:
gnc-plugin-page-invoice.c:953
Generated by
1.8.6