GnuCash c935c2f+
Loading...
Searching...
No Matches
gncEmployeeP.h
1/********************************************************************\
2 * gncEmployeeP.h -- the Core Employee 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 gnu@gnu.org *
20 * *
21\********************************************************************/
22
23/*
24 * Copyright (C) 2001 Derek Atkins
25 * Copyright (C) 2003 Linas Vepstas <linas@linas.org>
26 * Author: Derek Atkins <warlord@MIT.EDU>
27 */
28
29#ifndef GNC_EMPLOYEEP_H_
30#define GNC_EMPLOYEEP_H_
31
32#include "gncEmployee.h"
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38gboolean gncEmployeeRegister (void);
39gchar *gncEmployeeNextID (QofBook *book);
40const gnc_numeric *gncEmployeeGetCachedBalance (GncEmployee *vend);
41void gncEmployeeSetCachedBalance (GncEmployee *vend, const gnc_numeric *new_bal);
42
43#define gncEmployeeSetGUID(E,G) qof_instance_set_guid(QOF_INSTANCE(E),(G))
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* GNC_EMPLOYEEP_H_ */
Employee Interface.
QofBook reference.
Definition qofbook-p.hpp:47