24#ifndef DIALOG_ACCOUNT_H
25#define DIALOG_ACCOUNT_H
37#define account_type_has_auto_interest_charge(type) (((type) == ACCT_TYPE_CREDIT) || \
38((type) == ACCT_TYPE_LIABILITY) ||\
39((type) == ACCT_TYPE_PAYABLE))
41#define account_type_has_auto_interest_payment(type) (((type) == ACCT_TYPE_BANK) || \
42((type) == ACCT_TYPE_ASSET) || \
43((type) == ACCT_TYPE_MUTUAL) || \
44((type) == ACCT_TYPE_RECEIVABLE))
46#define account_type_has_auto_interest_xfer(type) \
47( account_type_has_auto_interest_charge(type) || \
48account_type_has_auto_interest_payment(type) )
94 GList *valid_types, gnc_commodity*);
170 const gnc_commodity *default_commodity,
179void gnc_ui_register_account_destroy_callback (
void (*cb)(
Account *));
182void gnc_account_renumber_create_dialog (GtkWidget *window,
Account *account);
184void gnc_account_cascade_properties_dialog (GtkWidget *window,
Account *account);
Account handling public routines.
void gnc_ui_new_account_with_types_and_commodity(GtkWindow *parent, QofBook *book, GList *valid_types, gnc_commodity *)
Display a window for creating a new account.
void gnc_ui_edit_account_window(GtkWindow *parent, Account *account)
Display a window for editing the attributes of an existing account.
void gnc_ui_new_account_window(GtkWindow *parent, QofBook *book, Account *parent_acct)
Display a window for creating a new account.
void gnc_ui_new_account_with_types(GtkWindow *parent, QofBook *book, GList *valid_types)
Display a window for creating a new account.
Account * gnc_ui_new_accounts_from_name_window(GtkWindow *parent, const char *name)
Display a modal window for creating a new account.
Account * gnc_ui_new_accounts_from_name_with_defaults(GtkWindow *parent, const char *name, GList *valid_types, const gnc_commodity *default_commodity, Account *parent_acct)
Display a modal window for creating a new account.