GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gnc-ab-kvp.h
Go to the documentation of this file.
1 /*
2  * gnc-ab-kvp.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_KVP_H
34 #define GNC_AB_KVP_H
35 
36 #include <glib.h>
37 
38 #include "Account.h"
39 
40 G_BEGIN_DECLS
41 
53 const gchar *gnc_ab_get_account_accountid(const Account *a);
54 
62 void gnc_ab_set_account_accountid(Account *a, const gchar *id);
63 
72 const gchar *gnc_ab_get_account_bankcode(const Account *a);
73 
81 void gnc_ab_set_account_bankcode(Account *a, const gchar *code);
82 
89 guint32 gnc_ab_get_account_uid(const Account *a);
90 
98 void gnc_ab_set_account_uid(Account *a, guint32 uid);
99 
107 
116 
130 
139 void gnc_ab_set_book_template_list(QofBook *b, GList *template_list);
140 
143 G_END_DECLS
144 
148 #endif /* GNC_AB_KVP_H */
guint32 gnc_ab_get_account_uid(const Account *a)
Definition: gnc-ab-kvp.c:79
Timespec gnc_ab_get_account_trans_retrieval(const Account *a)
Definition: gnc-ab-kvp.c:99
Use a 64-bit unsigned int timespec.
Definition: gnc-date.h:299
const gchar * gnc_ab_get_account_bankcode(const Account *a)
Definition: gnc-ab-kvp.c:59
Account handling public routines.
void gnc_ab_set_account_accountid(Account *a, const gchar *id)
Definition: gnc-ab-kvp.c:49
void gnc_ab_set_account_uid(Account *a, guint32 uid)
Definition: gnc-ab-kvp.c:89
void gnc_ab_set_account_trans_retrieval(Account *a, Timespec time)
Definition: gnc-ab-kvp.c:109
void gnc_ab_set_book_template_list(QofBook *b, GList *template_list)
Definition: gnc-ab-kvp.c:138
const gchar * gnc_ab_get_account_accountid(const Account *a)
Definition: gnc-ab-kvp.c:39
void gnc_ab_set_account_bankcode(Account *a, const gchar *code)
Definition: gnc-ab-kvp.c:69
GList * gnc_ab_get_book_template_list(QofBook *b)
Definition: gnc-ab-kvp.c:130