GnuCash  5.6-150-g038405b370+
gnc-lot-p.h
1 /********************************************************************\
2  * gnc-lot-p.h -- AR/AP invoices; inventory lots; stock lots *
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 gnu@gnu.org *
20 \********************************************************************/
21 
22 
23 /*
24  * FILE:
25  * gnc-lot-p.h
26  *
27  * FUNCTION:
28  * Lots implement the fundamental conceptual idea behind invoices,
29  * inventory lots, and stock market investment lots. See the file
30  * src/doc/lots.txt for implementation overview.
31  *
32  * HISTORY:
33  * Created by Linas Vepstas May 2002
34  * Copyright (c) 2002 Linas Vepstas <linas@linas.org>
35  */
36 
37 #ifndef GNC_LOT_P_H
38 #define GNC_LOT_P_H
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 #define gnc_lot_set_guid(L,G) qof_instance_set_guid(QOF_INSTANCE(L),&(G))
45 
46 /* Register with the Query engine */
47 gboolean gnc_lot_register (void);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* GNC_LOT_P_H */