GnuCash 2.4.99
gnc-ab-kvp.h
Go to the documentation of this file.
00001 /*
00002  * gnc-ab-kvp.h --
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License as
00006  * published by the Free Software Foundation; either version 2 of
00007  * the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, contact:
00016  *
00017  * Free Software Foundation           Voice:  +1-617-542-5942
00018  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
00019  * Boston, MA  02110-1301,  USA       gnu@gnu.org
00020  */
00021 
00033 #ifndef GNC_AB_KVP_H
00034 #define GNC_AB_KVP_H
00035 
00036 #include <glib.h>
00037 
00038 #include "Account.h"
00039 
00040 G_BEGIN_DECLS
00041 
00053 const gchar *gnc_ab_get_account_accountid(const Account *a);
00054 
00062 void gnc_ab_set_account_accountid(Account *a, const gchar *id);
00063 
00072 const gchar *gnc_ab_get_account_bankcode(const Account *a);
00073 
00081 void gnc_ab_set_account_bankcode(Account *a, const gchar *code);
00082 
00089 guint32 gnc_ab_get_account_uid(const Account *a);
00090 
00098 void gnc_ab_set_account_uid(Account *a, guint32 uid);
00099 
00106 Timespec gnc_ab_get_account_trans_retrieval(const Account *a);
00107 
00115 void gnc_ab_set_account_trans_retrieval(Account *a, Timespec time);
00116 
00129 GList *gnc_ab_get_book_template_list(QofBook *b);
00130 
00139 void gnc_ab_set_book_template_list(QofBook *b, GList *template_list);
00140 
00143 G_END_DECLS
00144 
00148 #endif /* GNC_AB_KVP_H */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines