GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gncEntryP.h
1 /********************************************************************\
2  * gncEntryP.h -- the Core Busines Entry Interface *
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 \********************************************************************/
22 
23 /*
24  * Copyright (C) 2001 Derek Atkins
25  * Copyright (C) 2003 Linas Vepstas <[email protected]>
26  * Author: Derek Atkins <[email protected]>
27  */
28 
29 #ifndef GNC_ENTRYP_H_
30 #define GNC_ENTRYP_H_
31 
32 #include "gncEntry.h"
33 
34 gboolean gncEntryRegister (void);
35 void gncEntrySetGUID (GncEntry *entry, const GncGUID *guid);
36 void gncEntrySetOrder (GncEntry *entry, GncOrder *order);
37 void gncEntrySetInvoice (GncEntry *entry, GncInvoice *invoice);
38 void gncEntrySetBill (GncEntry *entry, GncInvoice *bill);
39 void gncEntrySetDirty (GncEntry *entry, gboolean dirty);
40 
41 #define gncEntrySetGUID(E,G) qof_instance_set_guid(QOF_INSTANCE(E),(G))
42 
43 #endif /* GNC_ENTRYP_H_ */
Definition: guid.h:65
Business Entry Interface.