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
gnome
gnc-plugin-page-register2.h
1
/**********************************************************************
2
* gnc-plugin-page-register2.h -- register page functions *
3
* *
4
* Copyright (C) 2003 Jan Arne Petersen <
[email protected]
> *
5
* Copyright (C) 2003,2005,2006 David Hampton <
[email protected]
> *
6
* *
7
* This program is free software; you can redistribute it and/or *
8
* modify it under the terms of the GNU General Public License as *
9
* published by the Free Software Foundation; either version 2 of *
10
* the License, or (at your option) any later version. *
11
* *
12
* This program is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
16
* *
17
* You should have received a copy of the GNU General Public License *
18
* along with this program; if not, contact: *
19
* *
20
* Free Software Foundation Voice: +1-617-542-5942 *
21
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
22
* Boston, MA 02110-1301, USA
[email protected]
*
23
**********************************************************************/
24
35
#ifndef __GNC_PLUGIN_PAGE_REGISTER2_H
36
#define __GNC_PLUGIN_PAGE_REGISTER2_H
37
38
#include <gtk/gtk.h>
39
40
#include "
Account.h
"
41
#include "gnc-ledger-display2.h"
42
#include "
gnc-plugin-page.h
"
43
#include "gnc-split-reg2.h"
44
45
G_BEGIN_DECLS
46
47
/* type macros */
48
#define GNC_TYPE_PLUGIN_PAGE_REGISTER2 (gnc_plugin_page_register2_get_type ())
49
#define GNC_PLUGIN_PAGE_REGISTER2(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER2, GncPluginPageRegister2))
50
#define GNC_PLUGIN_PAGE_REGISTER2_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_REGISTER2, GncPluginPageRegister2Class))
51
#define GNC_IS_PLUGIN_PAGE_REGISTER2(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER2))
52
#define GNC_IS_PLUGIN_PAGE_REGISTER2_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_REGISTER2))
53
#define GNC_PLUGIN_PAGE_REGISTER2_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_REGISTER2, GncPluginPageRegister2Class))
54
#define GNC_PLUGIN_PAGE_REGISTER2_NAME "GncPluginPageRegister2"
55
56
/* typedefs & structures */
57
typedef
struct
58
{
59
GncPluginPage
gnc_plugin_page;
60
}
GncPluginPageRegister2
;
61
62
typedef
struct
63
{
64
GncPluginPageClass
gnc_plugin_page;
65
}
GncPluginPageRegister2Class
;
66
67
/* function prototypes */
68
73
GType
gnc_plugin_page_register2_get_type
(
void
);
74
75
87
GncPluginPage
*
88
gnc_plugin_page_register2_new
(
Account
*account, gboolean subaccounts);
89
90
101
GncPluginPage
*
102
gnc_plugin_page_register2_new_ledger
(
GNCLedgerDisplay2
*ledger);
103
104
109
GncPluginPage
*
110
gnc_plugin_page_register2_new_gl
(
void
);
111
112
122
void
123
gnc_plugin_page_register2_set_options
(
GncPluginPage
*plugin_page,
124
gint lines_default,
125
gboolean read_only);
126
127
132
GNCSplitReg2
*
133
gnc_plugin_page_register2_get_gsr
(
GncPluginPage
*plugin_page);
134
135
140
GNCLedgerDisplay2
*
141
gnc_plugin_page_register2_get_ledger
(
GncPluginPage
*plugin_page);
142
143
151
Account
*
152
gnc_plugin_page_register2_get_account
(
GncPluginPageRegister2
*page);
153
154
G_END_DECLS
158
#endif
/* __GNC_PLUGIN_PAGE_REGISTER2_H */
159
gnc_plugin_page_register2_new_ledger
GncPluginPage * gnc_plugin_page_register2_new_ledger(GNCLedgerDisplay2 *ledger)
Definition:
gnc-plugin-page-register2.c:708
gnc_plugin_page_register2_new
GncPluginPage * gnc_plugin_page_register2_new(Account *account, gboolean subaccounts)
Definition:
gnc-plugin-page-register2.c:653
GncPluginPageRegister2Class
Definition:
gnc-plugin-page-register2.h:62
GncPluginPage
Definition:
gnc-plugin-page.h:58
gnc_plugin_page_register2_new_gl
GncPluginPage * gnc_plugin_page_register2_new_gl(void)
Definition:
gnc-plugin-page-register2.c:699
Account
gnc_plugin_page_register2_get_account
Account * gnc_plugin_page_register2_get_account(GncPluginPageRegister2 *page)
Definition:
gnc-plugin-page-register2.c:798
Account.h
Account handling public routines.
GncPluginPageClass
Definition:
gnc-plugin-page.h:80
GncPluginPageRegister2
Definition:
gnc-plugin-page-register2.h:57
gnc-plugin-page.h
Functions for adding plugins to a GnuCash window.
gnc_plugin_page_register2_get_type
GType gnc_plugin_page_register2_get_type(void)
Definition:
gnc-plugin-page-register2.c:560
gnc_plugin_page_register2_get_gsr
GNCSplitReg2 * gnc_plugin_page_register2_get_gsr(GncPluginPage *plugin_page)
Definition:
gnc-plugin-page-register2.c:3838
gnc_ledger_display2
Definition:
gnc-ledger-display2.c:60
_GNCSplitReg2
Definition:
gnc-split-reg2.h:44
gnc_plugin_page_register2_get_ledger
GNCLedgerDisplay2 * gnc_plugin_page_register2_get_ledger(GncPluginPage *plugin_page)
Definition:
gnc-plugin-page-register2.c:3853
gnc_plugin_page_register2_set_options
void gnc_plugin_page_register2_set_options(GncPluginPage *plugin_page, gint lines_default, gboolean read_only)
Definition:
gnc-plugin-page-register2.c:3822
Generated by
1.8.6