GnuCash  5.6-150-g038405b370+
split-register-model-save.h
Go to the documentation of this file.
1 /********************************************************************\
2  * split-register-model-save.h -- split register model object *
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 #ifndef SPLIT_REGISTER_MODEL_SAVE_H
24 #define SPLIT_REGISTER_MODEL_SAVE_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #include "Transaction.h"
31 #include "table-model.h"
32 
40 void gnc_split_register_model_add_save_handlers (TableModel *model);
41 void gnc_template_register_model_add_save_handlers (TableModel *model);
42 
43 typedef struct sr_save_data SRSaveData;
44 
45 SRSaveData * gnc_split_register_save_data_new (Transaction *trans,
46  Split *split,
47  gboolean expanded);
48 
49 void gnc_split_register_save_data_destroy (SRSaveData *sd);
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
56 #endif
API for Transactions and Splits (journal entries)