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
engine
policy-p.h
Go to the documentation of this file.
1
/********************************************************************\
2
* policy-p.h -- Implement Accounting Policy Private Header File *
3
* *
4
* This program is free software; you can redistribute it and/or *
5
* modify it under the terms of the GNU General Public License as *
6
* published by the Free Software Foundation; either version 2 of *
7
* the License, or (at your option) any later version. *
8
* *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
13
* *
14
* You should have received a copy of the GNU General Public License*
15
* along with this program; if not, contact: *
16
* *
17
* Free Software Foundation Voice: +1-617-542-5942 *
18
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
19
* Boston, MA 02110-1301, USA
[email protected]
*
20
\********************************************************************/
21
33
#ifndef XACC_POLICY_P_H
34
#define XACC_POLICY_P_H
35
36
#include "
gnc-engine.h
"
37
#include "
policy.h
"
38
39
/* ============================================================== */
64
struct
gncpolicy_s
65
{
66
GNCLot
* (*PolicyGetLot) (
GNCPolicy
*,
Split
*split);
67
Split
* (*PolicyGetSplit) (
GNCPolicy
*,
GNCLot
*lot);
68
void (*PolicyGetLotOpening) (
GNCPolicy
*,
GNCLot
*lot,
69
gnc_numeric
*ret_amount,
70
gnc_numeric
*ret_value,
71
gnc_commodity
**ret_currency);
72
73
gboolean (*PolicyIsOpeningSplit) (
GNCPolicy
*,
GNCLot
*lot,
74
Split
*split);
75
};
76
77
#endif
/* XACC_POLICY_P_H */
gnc_lot_s
Definition:
gnc-lot.c:59
_gnc_numeric
Definition:
gnc-numeric.h:59
policy.h
Implement Accounting Policy.
gnc-engine.h
All type declarations for the whole Gnucash engine.
split_s
Definition:
SplitP.h:71
gnc_commodity_s
Definition:
gnc-commodity.c:64
gncpolicy_s
Definition:
policy-p.h:64
Generated by
1.8.6