GnuCash  5.6-150-g038405b370+
qofobject-p.h
Go to the documentation of this file.
1 /********************************************************************\
2  * qofobject-p.h -- the private Object Registration/Lookup Interface *
3  * This program is free software; you can redistribute it and/or *
4  * modify it under the terms of the GNU General Public License as *
5  * published by the Free Software Foundation; either version 2 of *
6  * the License, or (at your option) any later version. *
7  * *
8  * This program is distributed in the hope that it will be useful, *
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
11  * GNU General Public License for more details. *
12  * *
13  * You should have received a copy of the GNU General Public License*
14  * along with this program; if not, contact: *
15  * *
16  * Free Software Foundation Voice: +1-617-542-5942 *
17  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
18  * Boston, MA 02110-1301, USA gnu@gnu.org *
19  * *
20 \********************************************************************/
33 #ifndef QOF_OBJECT_P_H_
34 #define QOF_OBJECT_P_H_
35 
36 #include "qofbook.h"
37 #include "qofobject.h"
38 
39 #ifdef __cplusplus
40 extern "C"
41 {
42 #endif
43 
45 void qof_object_book_begin (QofBook *book);
46 void qof_object_book_end (QofBook *book);
47 
48 gboolean qof_object_is_dirty (const QofBook *book);
49 void qof_object_mark_clean (QofBook *book);
50 
60 gboolean
61 qof_object_compliance (QofIdTypeConst type_name, gboolean warn);
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif /* QOF_OBJECT_P_H_ */
68 
void qof_object_book_begin(QofBook *book)
To be called from within the book.
Definition: qofobject.cpp:80
const gchar * QofIdTypeConst
QofIdTypeConst declaration.
Definition: qofid.h:82
the Core Object Registration/Lookup Interface
gboolean qof_object_compliance(QofIdTypeConst type_name, gboolean warn)
check an object can be created and supports iteration
Definition: qofobject.cpp:167
Encapsulate all the information about a dataset.