GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gnc-ab-trans-templ.h
Go to the documentation of this file.
1 /*
2  * gnc-ab-trans-templ.h --
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 
33 #ifndef GNC_AB_TRANS_TEMPL_H
34 #define GNC_AB_TRANS_TEMPL_H
35 
36 #include <glib.h>
37 
38 #include "qof.h"
39 
40 G_BEGIN_DECLS
41 
44 
51 
65  const gchar *name, const gchar *recp_name, const gchar *recp_account,
66  const gchar *recp_bankcode, gnc_numeric amount, const gchar *purpose,
67  const gchar *purpose_cont);
68 
76 
85 
92 
98 void gnc_ab_trans_templ_list_free(GList *l);
99 
107 
115 GList *gnc_ab_trans_templ_list_to_kvp_list(GList *k);
116 
121 const gchar *gnc_ab_trans_templ_get_name(const GncABTransTempl *t);
122 
128 
134 
140 
146 
151 const gchar *gnc_ab_trans_templ_get_purpose(const GncABTransTempl *t);
152 
158 
165 void gnc_ab_trans_templ_set_name(GncABTransTempl *t, const gchar *name);
166 
174  const gchar *recp_name);
175 
183  const gchar *recp_account);
184 
192  const gchar *recp_bankcode);
193 
201 
208 void gnc_ab_trans_templ_set_purpose(GncABTransTempl *t, const gchar *purpose);
209 
217  const gchar *purpose_cont);
218 
219 G_END_DECLS
220 
221 #endif /* GNC_AB_TRANS_TEMPL_H */
222 
typedefG_BEGIN_DECLS struct _GncABTransTempl GncABTransTempl
const gchar * gnc_ab_trans_templ_get_purpose(const GncABTransTempl *t)
void gnc_ab_trans_templ_free(GncABTransTempl *t)
void gnc_ab_trans_templ_set_purpose_cont(GncABTransTempl *t, const gchar *purpose_cont)
void gnc_ab_trans_templ_set_amount(GncABTransTempl *t, gnc_numeric amount)
const gchar * gnc_ab_trans_templ_get_recp_account(const GncABTransTempl *t)
void gnc_ab_trans_templ_list_free(GList *l)
void gnc_ab_trans_templ_set_recp_account(GncABTransTempl *t, const gchar *recp_account)
void gnc_ab_trans_templ_set_name(GncABTransTempl *t, const gchar *name)
GList * gnc_ab_trans_templ_list_to_kvp_list(GList *k)
void gnc_ab_trans_templ_set_recp_name(GncABTransTempl *t, const gchar *recp_name)
void gnc_ab_trans_templ_set_recp_bankcode(GncABTransTempl *t, const gchar *recp_bankcode)
GncABTransTempl * gnc_ab_trans_templ_new(void)
void gnc_ab_trans_templ_set_purpose(GncABTransTempl *t, const gchar *purpose)
const gchar * gnc_ab_trans_templ_get_name(const GncABTransTempl *t)
gnc_numeric gnc_ab_trans_templ_get_amount(const GncABTransTempl *t)
const gchar * gnc_ab_trans_templ_get_recp_bankcode(const GncABTransTempl *t)
GncABTransTempl * gnc_ab_trans_templ_new_from_kvp(const KvpFrame *k)
const gchar * gnc_ab_trans_templ_get_recp_name(const GncABTransTempl *t)
KvpFrame * gnc_ab_trans_templ_to_kvp(const GncABTransTempl *t)
GncABTransTempl * gnc_ab_trans_templ_new_full(const gchar *name, const gchar *recp_name, const gchar *recp_account, const gchar *recp_bankcode, gnc_numeric amount, const gchar *purpose, const gchar *purpose_cont)
const gchar * gnc_ab_trans_templ_get_purpose_cont(const GncABTransTempl *t)
struct KvpFrameImpl KvpFrame
Definition: kvp_frame.h:76
GList * gnc_ab_trans_templ_list_new_from_kvp_list(GList *v)